Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
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]);