tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.01k stars 202 forks source link

selectionchange events fired when using multi tinymce editor in page #380

Open zhaozhongyu opened 1 year ago

zhaozhongyu commented 1 year ago

What is the current behavior? i am trying to use multi editor in the same page, and one of them add selectionchange listener. but when i click the one have not listener, selectionchange event fired.

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. https://codesandbox.io/s/tinymce-test-ier70z

What is the expected behavior? selectionchange event should be only fire in the editor which add event listener.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-vue? @tinymce/tinymce-vue@5.1.0