TinyMCE Browser Spell Checking


How can we switch on the browser spell checking as per TinyMCE's instructions?

The current plug-in is not working for my client's site as it is not utilising the multiple languages.  If we make the browser to keep the dictionaries, there will be less maintenance and release management for additional languages and newer dictionaries.

The answer is very simple but I cannot find a plave to inject the browser_spellcheck parameter as seen on http://www.tinymce.com/wiki.php/Configuration:browser_spellcheck

: true
Sep 22, 2015 13:41

TinyMCE disables browser spell-checking by default. If I'm not mistaken, you have to set both "browser_spellcheck : true" and "gecko_spellcheck : true" to enable it for most browsers.

(See http://www.devinbaldwin.com/2013/05/16/how-to-enable-spell-check-in-tinymce/)

The way to alter TinyMCE's default init settings is to make a small class in your Episerver project. You can find a guide for it at Chris Sharp's blog

Something like this should do it:

[TinyMCEPluginNonVisual(AlwaysEnabled = true, EditorInitConfigurationOptions = "{ browser_spellcheck : true, gecko_spellcheck : true }")]
public class TinyMceEnableBrowserSpellCheck

Jan 29, 2016 12:52
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.