Allow selection mutation events for leaf node views
This commit is contained in:
@@ -116,6 +116,10 @@ export default class ComponentView {
|
|||||||
// prevent a full re-render of the vue component on update
|
// prevent a full re-render of the vue component on update
|
||||||
// we'll handle prop updates in `update()`
|
// we'll handle prop updates in `update()`
|
||||||
ignoreMutation(mutation) {
|
ignoreMutation(mutation) {
|
||||||
|
if (mutation.type === "selection") {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.contentDOM) {
|
if (!this.contentDOM) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user