fix cursor bug

This commit is contained in:
Philipp Kühn 2020-11-25 21:50:40 +01:00
parent d479c184aa
commit ddc20c9e47

View File

@ -206,7 +206,11 @@ class VueNodeView implements NodeView {
ignoreMutation(mutation: MutationRecord | { type: 'selection'; target: Element }) {
if (mutation.type === 'selection') {
return true
if (this.node.isLeaf) {
return true
}
return false
}
if (!this.contentDOM) {