check for contenteditable within nodeviews
This commit is contained in:
@@ -94,6 +94,7 @@ export class NodeView<Component, Editor extends CoreEditor = CoreEditor> impleme
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isInput = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'].includes(target.tagName)
|
const isInput = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'].includes(target.tagName)
|
||||||
|
|| target.isContentEditable
|
||||||
|
|
||||||
// any input event within node views should be ignored by ProseMirror
|
// any input event within node views should be ignored by ProseMirror
|
||||||
if (isInput) {
|
if (isInput) {
|
||||||
|
|||||||
Reference in New Issue
Block a user