When using the theme CSS, the background color of the editor is the same as that of the , i.e. this work as intended.

I see it has been mentioned a few times, and has gone to wont fix, however the ckeditor module has an option for overriding just the background of the editor CSS. As a great many sites will have a dark body with a lighter div in the centre (such as our site, http://www.wikijob.co.uk), it makes sense to represent the actual text-on-background colour to be truly WYSIWYG.

Can I propose that we add an option to override the background for the editor?

Any help would be much appreciated!

Thanks,
Chris.

Comments

twod’s picture

Status: Active » Closed (duplicate)

I've not seen an option for overriding the background in the editing area, but it does have the bodyClass and the bodyId settings.
You could use those to create a specific style override in your theme just for the editor.

It will most likely be possible to set those via the GUI when #313497: Allow configuration of advanced editor settings gets in. Until then you can implement hook_wysiwyg_editor_settings_alter() to set them yourself, like this:

function MYMODULE_wysiwyg_editor_settings_alter(&$settings, &$context) {
  if($context['profile']->editor == 'ckeditor') {
    $settings['bodyId'] = 'wysiwygEditor';
  }
}

For now, we can't create unique settings under admin/settings/wysiwyg/ for each editor, which will be fixed as part of #313497 so I'll mark this a duplicate of that issue. The currently available options are based on TinyMCE as that's what the module first supported.

Thanks for reporting this, I hope I'll see you in #313497 when we've got a patch to test. =)