rangy - The highlighter restoration won't work perfectly -


the 3 highlightened words type:textcontent|14682$14685$2$mydict_highlighted$|14705$14715$1$mydict_highlighted$|14821$14829$3$mydict_highlighted$

my css name mydict_highlighted

inline

after reloading page, result strange

restoreselection() {     var docurl = getdocumenturl();     const storedwords = localstorage[docurl]     if (storedwords)  {         this.highlighter.deserialize(storedwords);     } } 

inline


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -