From dd7eafb99836cda20516c77bf2ef77170b8901de Mon Sep 17 00:00:00 2001 From: Billy Lam Date: Mon, 21 Oct 2019 09:56:24 +1300 Subject: [PATCH] Allow leaf nodes to be selected --- packages/tiptap/src/Utils/ComponentView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/tiptap/src/Utils/ComponentView.js b/packages/tiptap/src/Utils/ComponentView.js index 675cd4230..4f7a26f89 100644 --- a/packages/tiptap/src/Utils/ComponentView.js +++ b/packages/tiptap/src/Utils/ComponentView.js @@ -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; }