timdown / rangy

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

applier.applyToSelection keeps the selection, while applier.applyToRange does not #442

Open dportabella opened 6 years ago

dportabella commented 6 years ago

why does applier.applyToSelection keeps the selection, while applier.applyToRange removes the selection?