I can highlight the selected text and remove it.However, after highlighting the selected text I want to save page and I want to be able to select it and unhighlight it when I restore it. But rangy does not unhighlight when I reload the saved page. How can I do this ? My error :
0
votes
Please post your code. I am using rangy and have not come across this issue
– ControlAltDel
İf my text already highlighted I can not remove it. I will add gif wait a sec @ControlAltDel
– snowl
I have confirmed that this is an issue with Rangy
– ControlAltDel
How can we solve this problem ? Can we store and restore highlight information to randy @ControlAltDel
– snowl
How to solve the problem? Unfortunately, the best way to solve the problem is probably to start a project on GitHub, take over the code and fix it up. Timdown doesn't seem to have updated this in 5 or 6 years. There's someone else who made a clone, but that project looks like it hasn't been updated in at least 2 years. Other than that, don't use highlighter, or just accept the limitations
– ControlAltDel