sugarcrm/sugarcrm_dev — pull request #98 by blak3r (2012-04-11 06:37:33+00:00)
Title: Added SpellCheck Support to TinyMCE (Bug #25037)

Adds an spellcheck icon to the TinyMCE editor used on Emails/Knowledgebase.
Spellchecker is configured to use the public googlespell service.

Note: for pro versions rpc.php will need to be added to some exception list otherwise access is forbidden to it.
See this blog post here for the 1 line modification you need to make to .htaccess files to make it work: http://developers.sugarcrm.com/wordpress/2012/04/10/enabling-spellcheck-in-sugarcrms-wysiwyg-editor-tinymce/

Potential Improvements:
* Set the default language for the spellchecker based on the default language sugarcrm is configured for. This will require making changes to the editor_plugin file. Putting a + character next to the language in the line below sets the default language. English is currently set as the default.

each(ed.getParam('spellchecker_languages', '+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv', 'hash'), function(v, k) {