TinyMCE: Firefox's native spell check is disabled

Aren Cambre - November 9, 2009 - 00:12
Project:Wysiwyg
Version:6.x-2.0
Component:Editor - TinyMCE
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I cannot get Firefox's native spell check to work with TinyMCE. Just upgraded to TinyMCE 3.2.7 and still have the problem.

I opened a similar issue with the old Drupal TinyMCE module: #278970: Spell check disabled in Firefox. However, a report at http://drupal.org/node/135150#comment-1695368 says my suggested fix doesn't work.

#1

-Anti- - November 9, 2009 - 00:53

I had to hack wysiwyg/editors/tinymce.inc

141 function wysiwyg_tinymce_settings($editor, $config, $theme) {
142 $settings = array(
143 'gecko_spellcheck' => TRUE,

If anyone can show us how to do it without editing the module's files, it would be appreciated.

#2

Aren Cambre - November 9, 2009 - 04:29
Status:active» needs review

Worked for me! Setting to "needs review" to get other opinions.

#3

-Anti- - November 9, 2009 - 08:56

The problem is that moxiecode (tinymce) disabled the firefox spell checker by default two or three years ago due to some bug it caused. However, no-one seems to know what the bug was, or whether it still applies.

Until that is known, I guess that this needs to be an option somewhere with some kind of vague warning, rather than a hard-coded over-ride.

#4

Aren Cambre - November 9, 2009 - 14:47

If the rationale is lost, Moxiecode may have simply declined to revisit the issue. Might want to force it to true in a beta or dev and see how it pans out.

#5

-Anti- - November 9, 2009 - 18:24

+1 for that.
I've got spell checker turned on on two sites and it doesn't seem to hurt at all.
Having said that, I'm not doing anything clever - no video media or special buttons.

 
 

Drupal is a registered trademark of Dries Buytaert.