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.
how to disable scayt spellchecking and enable browser native spellchecker?
in config.js
config.disableNativeSpellChecker = false;
config.removePlugins = 'contextmenu';
don't work
Comments
Comment #1
TwoDWysiwyg module doesn't load CKEditor's config.js file (it's not needed since all settings are passed directly into the call to initialize the editor).
You can instead implement
hook_wysiwyg_editor_settings_alter()
in a small Drupal module to override any setting (including those set by Wysiwyg's GUI).For an example of what your module files would look like, see #1332906-2: How to Enable Browser's Built-in SpellChecker...? (for CKEditor). You can set the
removePlugins
setting the same way, though Wysiwyg or another module may have already set that string so there's a slight risk you would have to check if you need to append the plugin name to it instead of just overriding it.Since you're using D7, change the
core = 6.x
line tocore = 7.x
, Wysiwyg's own API is the same in those versions.Hope that fixes it for you. =)