From 2deb07fb005d4376790d1e22b3fc53353d1665eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 14 Jun 2021 15:56:24 +0200 Subject: [PATCH] fix: check for atom nodes in ignoreMutation handler, fix #1448 --- packages/core/src/NodeView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/NodeView.ts b/packages/core/src/NodeView.ts index b681faf3414..7ddd0394877 100644 --- a/packages/core/src/NodeView.ts +++ b/packages/core/src/NodeView.ts @@ -183,7 +183,7 @@ export class NodeView 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 }