Fix for firefox requiring users to right-click and select "Spell check this field"

Starting with a recent version of firefox, rich-text or WYSIWYG text editors no longer cause firefox to automatically spell check. Users needed to right click and select "Spell check this field" every time they went to a page with this type of editor.

The solution is to add the following line of code into the text editor:

gecko_spellcheck : true

For example, in tinyMCE, the code block might look like:

<SCRIPT LANGUAGE="JavaScript">
<!--//
tinyMCE.init({
      gecko_spellcheck : true,
      theme : "advanced",
      mode : "exact",
      elements : "body",
      theme_advanced_layout_manager : "SimpleLayout",
      theme_advanced_toolbar_location : "top",
      theme_advanced_buttons1 : "fontselect,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,outdent,indent,separator,link,unlink,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,hr,sub,sup,separator,code,separator",
      theme_advanced_buttons2 : "",
      theme_advanced_buttons3 : "",
      auto_focus : "body"
   });
//-->
</SCRIPT>

In looking for this solution, I found MANY people with the same problem I had. If this helps you, please post a comment in my blog.

Ken.

Comments
Jonathan Aquino's Gravatar Hi Ken - Wondering if the "homeschool-dad, Catholic, programmer, teacher" would be interested in joining the Association for Catholic Computer Programmers - http://accp.ning.com/

Jon
Living-at-home, Catholic, programmer
# Posted By Jonathan Aquino | 12/17/07 2:14 AM