You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if I'm interpreting it wrong or it is some sort of a leak, but after calling window.tinymce.remove() there are still TinyMCE drag and mouse events attached to the document element.
Based on fiddle.tiny.cloud, this seems to have been introduced with TinyMCE 6.2.0+.
It works as expected and there are no remaining TinyMCE events in TinyMCE 6.1.2.
I noticed it during profiling as it triggers unnecessary "Recalculate style" logs in our case.
📝 Provide detailed reproduction steps (if any)
I'm not sure if I'm interpreting it wrong or it is some sort of a leak, but after calling
window.tinymce.remove()
there are still TinyMCE drag and mouse events attached to the document element.Based on fiddle.tiny.cloud, this seems to have been introduced with TinyMCE 6.2.0+.
It works as expected and there are no remaining TinyMCE events in TinyMCE 6.1.2.
I noticed it during profiling as it triggers unnecessary "Recalculate style" logs in our case.
To reproduce it:
previewiframe
as executing context and runtinymce.remove()
.previewiframe
#document
element.You should see something like:
.
✔️ Expected result
I expect all TinyMCE related event listeners to be removed after calling
tinymce.remove()
.❌ Actual result
After calling
tinymce.remove()
there are still events attached to thedocument
element.📃 Other details
The text was updated successfully, but these errors were encountered: