
Benjamin Hargett
Joined
110 Experience
1 Lesson Completed
0 Questions Solved
Activity
Hey John, I had the same issue. Maybe try this out when you are setting the selected range?
this.editor.setSelectedRange([position - endPos + startPos, position + 1]);