Check HTML Spelling for Existing Chrome Text

I am trying to use HTML spell checking on a text box in Chrome. This works with text that I type, but I need to use it with existing text. This does not work, only when I select the text, spell check is activated. I just use this:

<TEXTAREA spellcheck="true" class="operatorchat" name="inputtext" id="inputtext">This text is worng!</TEXTAREA>

In Firefox, this works. Is there any code to make it work, I was thinking about selecting and deselecting using Javascript, but it does not work.

Thanks in advance.

+3
source share
2 answers

Found this one and works great!

http://jquery-spellchecker.badsyntax.co/

+1
source

HTML5 , . FF 5 ; Chrome 12 . . , , , .

http://www.w3.org/TR/html5/editing.html#attr-spellcheck

+3

Source: https://habr.com/ru/post/1767868/


All Articles