fix: check for atom nodes in ignoreMutation handler, fix #1448

This commit is contained in:
Philipp Kühn 2021-06-14 15:56:24 +02:00
parent f7890c0b42
commit 2deb07fb00

View File

@ -183,7 +183,7 @@ export class NodeView<Component, Editor extends CoreEditor = CoreEditor> impleme
// a leaf/atom node is like a black box for ProseMirror
// and should be fully handled by the node view
if (this.node.isLeaf) {
if (this.node.isLeaf || this.node.isAtom) {
return true
}