diff --git a/packages/tiptap/src/Utils/ComponentView.js b/packages/tiptap/src/Utils/ComponentView.js index 88af52ec..17bbb386 100644 --- a/packages/tiptap/src/Utils/ComponentView.js +++ b/packages/tiptap/src/Utils/ComponentView.js @@ -106,8 +106,11 @@ export default class ComponentView { // prevent a full re-render of the vue component on update // we'll handle prop updates in `update()` - ignoreMutation() { - return true + ignoreMutation(mutation) { + if (!this.contentDOM) { + return true + } + return !this.contentDOM.contains(mutation.target) } // disable (almost) all prosemirror event listener for node views