-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Description
I have experienced this in the CKEditor5 plugin, but I believe it applies to all integrations. Because of this line, other double-click handlers installed after the Mathtype integration's double-click handler or higher in the DOM will not work.
In my case, I have another unrelated feature that tries to listen for double-clicks and when the mathtype plugin is enabled, that feature doesn't work.
Environment
Which version of MathType does this happen in? @wiris/[email protected]
What is the relevant software and their versions?
- Editor (CKEditor, Froala, TinyMCE, etc.) CKEditor5 44.0.0
- Framework (Angular, React, etc.)
- Browser (Chrome, Firefox, etc.) all
- Operating System (Windows, macOS, Ubuntu, etc.) all
Steps to reproduce
Write code that adds a dblclick
handler to the editor root after the integration has installed its handler, or that adds a dblclick
handler to a higher-in-the-DOM element. Double-click inside the editor.
Expected result
The handler is called
Actual result
The handler is not called