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