Skip to content

Commit

Permalink
fix eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Jan 19, 2019
1 parent eee0850 commit c4e0bbe
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 c4e0bbe

Please sign in to comment.