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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -