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

Webspellchecker and Mathtype are not working with Vite plugin #10

Closed
LukaszGudel opened this issue Jun 1, 2023 · 0 comments · Fixed by #11
Closed

Webspellchecker and Mathtype are not working with Vite plugin #10

LukaszGudel opened this issue Jun 1, 2023 · 0 comments · Fixed by #11
Assignees
Labels
bug Something isn't working squad:qa Issue to be handled by the QA team.

Comments

@LukaszGudel
Copy link
Collaborator

Steps

  1. Add Webspellchecker or Mathtype plugins to the editor build using Vite and vite-plugin-ckeditor5.
  2. Start Vite dev server.

Result

The page crashes and the editor is not available. There is an error in the console:

TypeError: Cannot read properties of null (reading 'getAttribute')
    at IconView._updateXMLContent (iconview.js:67:33)
    at IconView.render (iconview.js:48:14)
    at IconView.<anonymous> (observablemixin.js:181:45)
    at IconView.fire (emittermixin.js:146:47)
    at <computed> [as render] (observablemixin.js:184:29)
    at ViewCollection._renderViewIntoCollectionParent (viewcollection.js:179:18)
    at ViewCollection.<anonymous> (viewcollection.js:63:18)
    at ViewCollection.fire (emittermixin.js:146:47)
    at ViewCollection.addMany (collection.js:106:18)
    at ViewCollection.add (collection.js:75:21)
@LukaszGudel LukaszGudel added the bug Something isn't working label Jun 1, 2023
LukaszGudel added a commit that referenced this issue Jun 1, 2023
Fix: Using external plugins with different name conventions than official CKEditor 5 plugins no longer results in editor crash. Closes: #10.
@LukaszGudel LukaszGudel added the squad:qa Issue to be handled by the QA team. label Jun 1, 2023
@LukaszGudel LukaszGudel self-assigned this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working squad:qa Issue to be handled by the QA team.
Projects
None yet
1 participant