tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.08k stars 208 forks source link

Model bind cannot be enabled #435

Open weiwen-chi opened 2 months ago

weiwen-chi commented 2 months ago

What is the current behavior?

The logic to enable model bind relies on if onUpdate:modelValue can be found in ctx.attrs. The behaviour around that has been changed so declared emit events will never show up in the ctx.attrs. More details can be found https://github.com/vuejs/core/issues/2599

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

I am using vue@3.4.38

What is the expected behavior? Editor will update the content if modelValue is changed

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