Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'd like add this to my TinyMCE 3 editors when they are embedded...
$init['gecko_spellcheck'] = 'true';
What's the best way to do this extensibly with the wysiwyg module?
Thanks,
Mike
Comments
Comment #1
sunWhat is this setting for, what defines and allows it, and where and when is it available?
Comment #2
mpaler CreditAttribution: mpaler commentedHi Sun,
This init code enables/disables built in spell check for text-areas in gecko browsers like Firefox. (Note this isn't the TinyMCE spell checker plugin that I've found doesn't work across all browsers)
After a little bit of research (see http://drupal.org/node/135150), I discovered that for some reason, TinyMCE ships with this set to FALSE, thus disabling the built in browser spell check. It seems there may be some conflict with other plugins but I can't be sure.
Either way, I wanted it on because I run an editor with few buttons. What I did to get it going was by adding the param to wysiwyg_tinymce_settings as follows.
Appears to work ok for me, though I haven't tested across all browsers/platforms.
My question is, is there a better way to do this such that I don't have to hack the module?
Thanks,
Mike
Comment #3
sunComment #4
dragonwize CreditAttribution: dragonwize commentedA definite needed feature. Keeping this in my tracker queue. If I get to this any time soon I will write a patch.
Comment #5
sunMarking as duplicate of #313497: Allow configuration of advanced editor settings. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.
However, thanks for taking the time to report this issue.