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

support highlight restore #2

Closed katat closed 11 years ago

katat commented 11 years ago

Is this project going to support restoring highlights after page reloaded?

mir3z commented 11 years ago

For now I'm rather busy, so highlighter isn't actively developed. Althought, It is likely that in future such kind of feature might be supported. Of course you are more than welcome to participate in project and developed that feature on your own. ;)

nak411 commented 11 years ago

There is no demo available for creating a custom wrapper. Can you put one up? For example instead of highlighting if i just want to add bold tags or something? I am not sure how to use $.textHighlighter.createWrapper

mir3z commented 11 years ago

@katat: I've implemented serialization and deserialization of highlights. This can be used to storing and restoring highlights. See example: http://mir3z.github.io/jquery.texthighlighter/demos/serialization.html

@nak411: Here's the example: http://mir3z.github.io/jquery.texthighlighter/demos/custom-wrapper.html