Skip to content
New issue

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

What is the correct way to import #121

Open
johnkhor0216 opened this issue Sep 14, 2024 · 1 comment
Open

What is the correct way to import #121

johnkhor0216 opened this issue Sep 14, 2024 · 1 comment

Comments

@johnkhor0216
Copy link

johnkhor0216 commented Sep 14, 2024

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 johnkhor0216 changed the title Replacing ClassicEditor with InlineEditor What is the correct way to import Sep 26, 2024
@Mgsy
Copy link
Member

Mgsy commented Sep 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants