strapi-plugin-ckeditor
strapi-plugin-ckeditor copied to clipboard
What is the correct way to import
I'm trying to import features from the CKEditor but I kept getting CKEditorError: ckeditor-duplicated-modules error. Is window.CKEditor5.xxx the only way to import things? I couldn't import normally in any files and this is annoying
import { InlineEditor } from '@ckeditor/ckeditor5-editor-inline/src/inlineeditor';
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import FileRepository from '@ckeditor/ckeditor5-upload/src/filerepository';
Hi @johnkhor0216! Recently we released a new version of the plugin with a changed installation method. You can refer to the new configuration and follow the convention to adjust your config.
See more information about the compatibility in README.