Posted by modulo49 on September 9, 2010 at 11:10pm
8 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | modulo49 |
| Status: | closed (fixed) |
Issue Summary
Is there a way that you could allow admin to turn on SCAYT by default. Getting users to turn on spell check is sometimes like pulling teeth. I am the web designer for a school where multiple staff members are entering data and they have varying levels of computer knowledge, it would just be better if we could spell check everything.
Comments
#1
subscribing.
#2
This feature is there under Advanced in the Profiles. Or at least in the 6.X-1.0-Dev release it is.
#3
U can enable SCAYT by default in CKEditor profile settings -> Advanced options -> Spell checker.
Pls reopen this ticket if u have any more questions.
#4
How is this done if you load CKEditor through the Wysiwyg module? There is no Profile option when you do it this way.
I saw this posting online, and tried making the config fix, but it did not work. I wanted to know if there was a way to do it other than this.
http://cksource.com/forums/viewtopic.php?f=11&t=17091
#5
Follow-up: the patch described in this post is no longer compatible with the current version of CKEditor (3.4.2).
#6
Ah - sorry for the traffic here. In case your Google search takes you here, the problem is a consequence of using Wysiwyg module with the CKEditor. Take a look here: http://drupal.org/node/841488
#7
Create a small module. Here's some code for the .module file:
<?php//Change initialization settings for CKEditor.
// Set the height of the editor smaller.
// See http://drupal.org/node/1012050
// Turn on SCAYT.
// See http://drupal.org/node/907106
function MODULENAME_wysiwyg_editor_settings_alter(&$settings, $context) {
if ($context['profile']->editor == 'ckeditor') {
$settings['height'] = 200;
$settings['scayt_autoStartup'] = TRUE;
}
}
#8
Using CKEditor through Wysiwyg I was having no luck getting this custom module workaround working, then I went into admin/settings/wysiwyg and deleted the CKeditor profile I'd assigned, re-added it and re-enabled SCAYT and SC in the buttons prefs. The custom module now works like a switch. Thanks everybody for posting-
elizzle
#9
mathieso's module works.