November Happy Hour will be moved to Thursday December 5th.

TinyMCE Browser Spell Checking

Vote:
 

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

tinymce.init({ 
...
browser_spellcheck
: true
});
#138471
Sep 22, 2015 13:41
Vote:
 

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
{
}



#143737
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.