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
Post a Comment