jHTMLArea: disable Browser spellcheck

220 Views Asked by At

I'm using jHTMLArea as wysiwyg editor. And when Chrome spellchecking is turned on, text is underlined with red waved lines. How to disable it?

2

There are 2 best solutions below

0
master_Alish On BEST ANSWER

I have solved it by setting spellcheck=false to body of inner iframe of jHtmlArea.

2
Julian On

With HTML5 you can do this with spellcheck=false. You must add this to the textarea of your jHTMLArea.

With jQuery you can do that with

$("textarea").attr('spellcheck', false)