jquery - Browser spellcheck on static text in contenteditable SPAN -


i have text elements on page , want draw user's attention spelling mistakes; i've been doing forcing spellcheck displays wiggly-red-underline.

this seems have stopped working (in chrome) recently, there way achieve please?

i've been doing this:

<span contenteditable="true" spellcheck="true" class="spellcheck">some text</span> 

and then

$(document).ready(function() {     $(".spellcheck").each(function(){this.focus()});     $("#someidneartopofpage").focus(); }); 

which used work ok

(it seems me there used visual effect of page scrolling, each span "visited", don't seem see happening - or, maybe, number of suitable spans on page small, compared previously, , happening faster can see - mentioning in case relevant)

if manually click on span , append e.g. space wiggly-red-line appears.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -