Highlight Text From Multiple User Selections in React
TL;DR - This is a simple React component that allows you to make multiple highlights in a text from user selections.
Why? Working on a side project I wanted a way for users (and me as the current only user) to save words that they don’t know from a text. I found this great example blog that demonstrated one way to do this in React, but it didn’t allow for multiple highlights.
Read more