-
Notifications
You must be signed in to change notification settings - Fork 54
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
[CKEditor 5] import MathType 8.11.1 leads to duplicated editors using CKEditor 43.3.1 (version conflict) #1041
Comments
If we use the latest versions of the following packages with CKEditor 5's new installation method: https://v2res1-stag.assessprep.com/direct_uploads/attachments/01JD1FY4DCA0HS6JAR2KD57JZ4/image.png Uncaught CKEditorError: Cannot read properties of undefined (reading 'trim') Uncaught (in promise) CKEditorError: editor-source-element-already-used An error happened during the editor destroying. CKEditorError: Cannot read properties of undefined (reading 'trim') And we open, insert and close wiris modal then- Error tracking INSERTED_FORMULA TypeError: Cannot read properties of undefined (reading 'track') Error tracking CLOSED_MTCT_EDITOR TypeError: Cannot read properties of undefined (reading 'track') |
Hello, thanks for reporting this! It looks like MathType plugin is not fully compatible with react-ckeditor5. With the new installation methods, it's included the browser (CDN) one as well. This method contains all wiris code compiled and ready to use directly. Here are the steps we follow for these cases:
If possible, we encourage you to try this method and let us know if this has solved your issue. Any further issues, please feel free to contact us or write an email to our support team at [email protected]. |
Hii @carla-at-wiris,Hi, I followed these steps, but the issue remains unresolved, and the same problems are occurring:
|
We would need a bit more information on your environment, which plugins are you using, are they premium CK5 features or third party ones, the steps that lead to the issue, and any useful additional information. We've lately had been having issues with CK5 premium features when MathType is installed as well. I would also recommend cleaning the lock files, as they might be storing old version information, which could cause the duplicated modules' error. As well as using We will be able to perform a discovery on your issue once have the requested context to understand of your situation |
@carla-at-wiris @cicd-wiris @hqiu-at-wiris javascript code Additionally, the input UI of CKEditor 5 plugins appears as shown in the image: <CKEditor |
please give this solution |
Description
When you import the MathType plugin in the CKEditor. import MathType from "@wiris/mathtype-ckeditor5/src/plugin" to my app.vue then make npm run start, then version.js:175 Uncaught CKEditorError: ckeditor-duplicated-modules
Environment
CKEditor '^43.3.1'.
MathType '^8.11.1'.
The text was updated successfully, but these errors were encountered: