timdown / rangy

A cross-browser JavaScript range and selection library.
MIT License
2.23k stars 367 forks source link

Unhighlighted only removes part of the highlight #471

Open ahmad-b-naser opened 3 years ago

ahmad-b-naser commented 3 years ago

I highlight the text, select it again and unhighlight it, but some letters remain highlighted. (p.s. selecting those letters and unhighlighting doesn't have any effect) (p.s. If I select a bigger text that includes the highlighted remains and highlight it and unhighlight it again, the old highlighted remains go, however, new remains appear somewhere else)