mir3z / texthighlighter

-- NO LONGER MAINTAINED -- TextHighlighter allows you to highlight text on web pages.
http://mir3z.github.com/texthighlighter/
MIT License
230 stars 101 forks source link

Create highlights on the click of a button on a web page #17

Open pavneet9 opened 8 years ago

pavneet9 commented 8 years ago

I am trying to use your library, so first of all thanks for the awesome resource.

Can you guide me how to create a another demo on which the highlights are created after a user clicks on a button.

A selection is not automatically converted into a highlight. And there is no sandbox on the page