strapi-plugin-ckeditor icon indicating copy to clipboard operation
strapi-plugin-ckeditor copied to clipboard

What is the correct way to import

Open johnkhor0216 opened this issue 1 year ago • 1 comments

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';

johnkhor0216 avatar Sep 14 '24 10:09 johnkhor0216

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.

Mgsy avatar Sep 26 '24 07:09 Mgsy