master_Alish
master_Alish

Reputation: 383

jHTMLArea: disable Browser spellcheck

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?

Upvotes: 0

Views: 220

Answers (2)

master_Alish
master_Alish

Reputation: 383

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

Upvotes: 0

Julian
Julian

Reputation: 2822

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)

Upvotes: 0

Related Questions