check for contenteditable within nodeviews

This commit is contained in:
Philipp Kühn 2021-04-04 09:50:36 +02:00
parent 550b8bd216
commit 3a5cad6bea

View File

@ -94,6 +94,7 @@ export class NodeView<Component, Editor extends CoreEditor = CoreEditor> 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) {