diff --git a/packages/core/src/NodeView.ts b/packages/core/src/NodeView.ts index f346a508199..875a3e54fc4 100644 --- a/packages/core/src/NodeView.ts +++ b/packages/core/src/NodeView.ts @@ -175,7 +175,7 @@ export class NodeView impleme } const contentDOMHasChanged = !this.contentDOM.contains(mutation.target) - || this.contentDOM === mutation.target + || (this.contentDOM === mutation.target && mutation.type === 'attributes') return contentDOMHasChanged }