FCKEDitor, Drupal and Firefox Spell Checker

Posted March 18th, 2010 by admin

Firefox has a great built in Spell Checker. However when setting up this site in Drupal, we chose to implement FCKeditor. The problem is FCKeditor uses its own menu system, so the right click context menu is not available for the Firefox spell Check.  Also the Firefox spell checker is not on by default with FCKeditor.   I have done some searches and found the following three resources.

To save you some reading the steps are very simple.

  1. FTP to your server
  2. /var/www/vhosts/{website}/httpdocs/sites/all/modules/wysiwyg/editors/js/fckeditor.config.js
  3. Add  two lines to the bottom of the file.
  • FCKConfig.FirefoxSpellChecker = true ;
    FCKConfig.BrowserContextMenuOnCtrl = false;
    
  1. Save the file and head over to edit a post in Drupal.

If all went well You will see red squiggles under your typos.

Also to get the context menu. You can hold the CTRL key and Left Click a link to see suggestions.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>