Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Javascript rich text editor will not break the browser's spellcheck?

Tags:

I'm using TinyMCE in an ASP.Net project, and I need a spell check. The only TinyMCE plugins I've found use PHP on the server side, and I guess I could just break down and install PHP on my server and do that, but quite frankly, what a pain. I don't want to do that.

As it turns out, Firefox's built-in spell check will work fine for me, but it doesn't seem to work on TinyMCE editor boxes. I've enabled the gecko_spellcheck option, which is supposed to fix it, but it doesn't.

Does anybody know of a nice rich-text editor that doesn't break the browser's spell check?

like image 288
Josh Hinman Avatar asked Aug 22 '08 22:08

Josh Hinman


People also ask

Does rich text document have spell check?

From the RTF functions toolbar, click Spell Check. The spell checker highlights any misspelled words and provides an alternative spelling for the word in the Replace with box.

How do I turn off spell check on my browser?

Go to Settings. languages. To the right of 'Spell check', turn it on or off.

How do I turn off spell check in HTML?

Disabling Spell Check in a HTML Form: To disable spellcheck in a HTML form the spellcheck attribute is set to “false”.


1 Answers

TinyMCE only goes out of its way to disable spell-checking when you don't specify the gecko_spellcheck option (i verified this with their example code). Might want to double-check your tinyMCE.init() call - it should look something like this:

tinyMCE.init({
    mode : "textareas",
    theme : "simple",
    gecko_spellcheck : true
});
like image 83
Shog9 Avatar answered Sep 19 '22 19:09

Shog9