fix: check for atom nodes in ignoreMutation handler, fix #1448
This commit is contained in:
@@ -183,7 +183,7 @@ export class NodeView<Component, Editor extends CoreEditor = CoreEditor> impleme
|
|||||||
|
|
||||||
// a leaf/atom node is like a black box for ProseMirror
|
// a leaf/atom node is like a black box for ProseMirror
|
||||||
// and should be fully handled by the node view
|
// and should be fully handled by the node view
|
||||||
if (this.node.isLeaf) {
|
if (this.node.isLeaf || this.node.isAtom) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user