mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
Allow leaf nodes to be selected
This commit is contained in:
parent
3510b7ee72
commit
dd7eafb998
@ -116,6 +116,8 @@ export default class ComponentView {
|
||||
// prevent a full re-render of the vue component on update
|
||||
// we'll handle prop updates in `update()`
|
||||
ignoreMutation(mutation) {
|
||||
|
||||
// allow leaf nodes to be selected
|
||||
if (mutation.type === "selection") {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user