From 3a5cad6beaa67eb0f32b6f4a818bee414564d84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Sun, 4 Apr 2021 09:50:36 +0200 Subject: [PATCH] check for contenteditable within nodeviews --- packages/core/src/NodeView.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/NodeView.ts b/packages/core/src/NodeView.ts index d0308685..6824b3e8 100644 --- a/packages/core/src/NodeView.ts +++ b/packages/core/src/NodeView.ts @@ -94,6 +94,7 @@ export class NodeView impleme } const isInput = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'].includes(target.tagName) + || target.isContentEditable // any input event within node views should be ignored by ProseMirror if (isInput) {