Open yvesh opened 1 year ago
Thanks for reaching out @yvesh. Very strange indeed. Are you sure watchdog was not added as a dependency of some plugin? Check the src/ckeditor.js
or package.json
in the Online Builder folder.
I only replicated this situation when I added the watchdog plugin. Export in src/ckeditor.js
looks like this then:
export default { Editor, EditorWatchdog };
Hello,
using Vue 3, Vite, TS and an custom ckeditor 5 build (nothing fancy, just some plugins, no watchdog) following the documentation got me an "Error: this.editor.create is not a function".
import Editor from 'ckeditor5-custom-build/build/ckeditor';
returns an Object and not a function:
{Editor: ƒ, EditorWatchdog: ƒ}
Workaround:
or just import it correctly:
Or did I miss something?
Thanks!