I need to save & highlight the selected text.
I get the range as said in Calculate Position of selected text javascript/JQuery?
But, how to highlight the user's selected text on next session using the above stored value?
Note: I went through Rangy's serializer module (demo)
but it consumes much time on iOS UIWebView on loading large content of html in a web view.... App Freezes:-( Also multiple highlighting is not available in Rangy's serializer module.
So What I'm looking for is, highlight based on the start & end offset of range value stored.