diff --git a/packages/tiptap-utils/src/utils/getMarkRange.js b/packages/tiptap-utils/src/utils/getMarkRange.js index ce563ab778..b702615658 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