Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2010 at 23:17 UTC
Updated:
7 Nov 2010 at 02:43 UTC
In the lastest Version of CKeditor, a free spellchecking-service called SCAYT (spellchecker.net) is integrated.
I tried to figure out, how to change the settings or even how to disable it completely.
CKEDITOR.config.scayt_sLang = 'de_DE'; is supposed to change the language
CKEDITOR.config.scayt_autoStartup = false; is supposed to disable the service
But where do I have to place those commands? I think I tried every config file, but I might have missed one...
Greets Marco
Comments
Comment #1
twodWysiwyg module doesn't support modifying library files, even config files, as these changes would be undone when upgrading the editor. Wysiwyg module sends its own settings object to the editor each time it's attached, but we don't yet have a GUI to alter all settings.
You can make overrides on the settings object by implementing hook_wysiwyg_editor_settings_alter(), the examples in #313497-52: Allow configuration of advanced editor settings and other issues here should help you get this done.
You might also want to check out #817894: Support removePlugins setting to allow disabling CKEditor plugins.
Comment #3
djguerri commentedYou can configure these parameters in CKEditor settings page (http://yoursite/admin/settings/ckeditor).
Edit your specific profile (in my case was "Default") and go to "Advanced Options" settings.
Then copy/paste these two lines into "Custom JavaScript Configuration" section and save the profile:
config.scayt_sLang = 'de_DE';
config.scayt_autoStartup = false;
Good luck!
Comment #4
hchall commentedThanks CKeditor module developers for providing this contingency!
No more annoying 'svc.spellchecker.net' delays!
Comment #5
TheDoctor commentedI also edited ckeditor.config.js, creating my own standardized toolbar set. I didn't like seeing the related buttons, as I sure end-users would only question why it's "broken."