Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model bind cannot be enabled #435

Open
weiwen-chi opened this issue Sep 11, 2024 · 0 comments
Open

Model bind cannot be enabled #435

weiwen-chi opened this issue Sep 11, 2024 · 0 comments

Comments

@weiwen-chi
Copy link

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 vuejs/core#2599

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

  • bind modelValue and update:modelValue with editor component
  • update the modelValue outside editor component
  • the content in the editor component is not updated

I am using [email protected]

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant