You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page of the texthighlighter demo looks a bit nicer, but Rangy also has annotation, which is useful.
Using a npm package might cause issues further down the line, so we may want to avoid it.
I would say both Rangy and Texthighlighter provide the basic functions we need. Maybe it would come down to how easy to use them and how robust they are.
Libraries for highlighting user selection.
The text was updated successfully, but these errors were encountered: