Valien
Valien

Reputation: 1145

jQuery Spell Checker plugin for TinyMCE in .NET

We have an app written in .NET/MVC (C#) and it uses TinyMCE as the WYSIWYG editor. Works fine except no spell checking natively. The current options are pretty limited (iespell for IE but requires ActiveX, or spellchecker for PHP).

I stumbled on this site and it looked promising until I read the documentation and saw that it also requires PHP on the backend.

So I'm looking for an alternative - jQuery plug-in that will work with a .NET backend or possibly replacing TinyMCE and using CKEditor which supports SCAYT.

Anyone have any idea if there is a good jQuery plugin to use or am I possibly stuck with ripping out TinyMCE and replacing it with CKEditor?

Upvotes: 1

Views: 1780

Answers (2)

tomRedox
tomRedox

Reputation: 30443

To anyone coming on this post later:

TinyMCE can now use the browser's built in spell checking functionality, just turn on the option as follows:

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  browser_spellcheck: true
});

More details in the relevant section of the official documentation.

You should then get the red squigglies in the browser:

enter image description here

Upvotes: 1

Bassam Mehanni
Bassam Mehanni

Reputation: 14944

You can use typo.js, you can use to detect if a word is misspelled and also to get a list of suggestions, but you will have to handle the replacement yourself. I am using it with CodeMirror in my asp.net Mvc project

Upvotes: 1

Related Questions