ReferenceError: window is not defined
ERROR [Vue warn]: Failed to resolve async component: () => Promise.resolve(/*! import() */).then(__webpack_require__.t.bind(null, /*! @blowstack/ckeditor-nuxt */ "@blowstack/ckeditor-nuxt", 7))
Reason: ReferenceError: window is not defined
where it's displayed? In browser console or in system console?
where it's displayed? In browser console or in system console?
in the system console
I assume it's shown when you refresh the page. It shouldn't affect anything really. Does the editor work?
I assume it's shown when you refresh the page. It shouldn't affect anything really. Does the editor work?
The editor is work but it's like rendered slowly
Yes, it's quite slow because It has mplemented all free plugins from ckeditor (except ckfinder). You can try to exclude plugins that you don't need passing a proper config. For example to disable Title plugin you can pass sth like this:
editorConfig: {
removePlugins: ['Title'],
}
If it doesn't help I recommend making your own custom build with selected plugins that way you shoud get a lighter version.
Yes, it's quite slow because It has mplemented all free plugins from ckeditor (except ckfinder). You can try to exclude plugins that you don't need passing a proper config. For example to disable Title plugin you can pass sth like this:
editorConfig: { removePlugins: ['Title'], }If it doesn't help I recommend making your own custom build with selected plugins that way you shoud get a lighter version.
Can we get the state when the ckeditor is ready? For content loader usage
Have this problem too!
That what I see in terminal when use npm run dev?

Have this problem too! That what I see in terminal when use
npm run dev?
I found the answer! You need to add the process.client check like this, and the error will disappear.
export default {
components: {
'ckeditor-nuxt': () => { if (process.client) { return import('@blowstack/ckeditor-nuxt') } },
},
}
@andymark-by Good job. I've just merged your pull request. thx
@blowstack Thank you for the good module.