From c4e0bbeaf41ce8bb8f56ef1e4060c6a551982c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Sat, 19 Jan 2019 10:33:58 +0100 Subject: [PATCH] fix eslint warning --- packages/tiptap-utils/src/utils/getMarkRange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tiptap-utils/src/utils/getMarkRange.js b/packages/tiptap-utils/src/utils/getMarkRange.js index b7026156..ce563ab7 100644 --- a/packages/tiptap-utils/src/utils/getMarkRange.js +++ b/packages/tiptap-utils/src/utils/getMarkRange.js @@ -22,7 +22,7 @@ export default function ($pos = null, type = null) { startPos -= $pos.parent.child(startIndex).nodeSize } - const endIndex = $pos.indexAfter() + // const endIndex = $pos.indexAfter() const endPos = startPos + start.node.nodeSize // disable for now. see #156