Author Topic: Fix for spellchecker crashing Firefox in HTML mode  (Read 2085 times)

Offline Ythan

  • Newbie
  • *
  • Posts: 4
    • http://www.shroomery.org/
Fix for spellchecker crashing Firefox in HTML mode
« on: April 08, 2007, 04:32:49 PM »
I recently upgraded to the latest SVN version. It's great, but the one thing that was really bothering me is Firefox would crash when spell-checking in HTML mode. I spent the better part of an afternoon tracking down a fix and in the end it's so simple it probably took me 15 minutes per character. ::) Anyway, you need to edit program/js/tiny_mce/plugins/spellchecker/editor_plugin.js. Find this:

Code: [Select]
tinyMCE.switchClass(editor_id+'_spellchecker','mceMenuButtonSelected');
Directly after it, add:

Code: [Select]
window.focus();
That's it! I hope it works as well for you as it did for me. :)

-Y