We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting the above error when I try to create the EditorJs object. Here is my code
import EditorJs from "@editorjs/editorjs"; @Component({ selector: 'jhi-editor', templateUrl: './editor.component.html', styles: [] }) export class EditorComponent implements OnInit { constructor() { let editor = new EditorJs({ holderId: 'editorjs' } ); } ngOnInit() { } } ```
The text was updated successfully, but these errors were encountered:
It works if I import it this way.
const EditorJs = require('@editorjs/editorjs');
Sorry, something went wrong.
@sumitvairagar we can't reproduce the issue. Please, open the new one if it still occurs.
I'm experiencing the same error. Using require makes it work.
No branches or pull requests
I am getting the above error when I try to create the EditorJs object. Here is my code
The text was updated successfully, but these errors were encountered: