Skip to content

Model bind cannot be enabled #435

Open
@weiwen-chi

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions