Closed greyvugrin closed 1 year ago
Ref: INT-2781
@greyvugrin the docs represent the latest version of the integration (v4.0) which supports Vue 3. In this version events are wired used the @focus
handler. For example
For version 3.0 which supports Vue 2, the events were wired having the v-on:focus
in mind which wired them to use the @onfocus
notation. For example
Thanks for bringing this up. I will update this ticket once the docs represent this issue for version 3. Unfortunately, the docs page is getting an overhaul so it might take a bit to reflect this changes.
This behaviour has been documented in https://www.tiny.cloud/docs/tinymce/6/vue-ref/#event-binding
What is the current behavior?
@focus
,@blur
, etc. It only fires them to their "on*" counterparts. E.g. "onfocus".Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. Steps to repro:
Reproduced here: https://codesandbox.io/s/tinymce-focus-event-8gf8y4?file=/src/App.vue
What is the expected behavior?
focus
events should be triggered, or the docs should be updated to reflect the "on*" event list.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 version 5.10.3. Chrome, Mac