Skip to content

Commit

Permalink
Revert "fix eslint warning"
Browse files Browse the repository at this point in the history
This reverts commit c4e0bbe.
  • Loading branch information
mariux committed May 3, 2019
1 parent 0e59e0c commit 392f8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tiptap-utils/src/utils/getMarkRange.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 392f8a2

Please sign in to comment.