Closed (fixed)
Project:
Deco
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2010 at 21:22 UTC
Updated:
31 Mar 2018 at 08:02 UTC
Jump to comment: Most recent
I use Ckeditor and the background of the CKeditor is darg cyan when I use it with deco theme. At this page they say that I need to set two variables
http://drupal.ckeditor.com/tricks
But I don't know the values to put on it to get it working right. It seems that these inputs rely on the theme I'm using, in this case, Deco.
Comments
Comment #1
Deepika.chavan commentedHi,
In modules/ckeditor/ckeditor.config.js , following code is used to set 'class' and 'Id' to the body of ckeditor. You can use any value for that.
In my case I used :
Css to change the background color of body of ckeditor :
Rgrds,
Deepika Chavan
Comment #2
Enzman commentedIn my case, I found it easiest to edit contents.css, found under the Libraries/CKEditor directory.
You can see from the full code that I change the line to:
background-color: #040404;
as I wanted the edit tool to always appear black - as the entire site had white text throughout. Of course you can change it to any colour you like.
Full code:
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
body
{
/* Font */
font-family: Arial, Verdana, sans-serif;
font-size: 12px;
/* Text color */
color: #222;
/* Remove the background color to make it transparent */
background-color: #040404;
}
html
{
/* #3658: [IE6] Editor document has horizontal scrollbar on long lines
To prevent this misbehavior, we show the scrollbar always */
_overflow-y: scroll
}
img:-moz-broken
{
-moz-force-broken-image-icon : 1;
width : 24px;
height : 24px;
}
img, input, textarea
{
cursor: default;
}
Comment #3
c31ck commentedFixed in 7.x-1.x-dev and 6.x-1.x-dev by fixing #433516: TinyMCE background is black
Comment #4
RAWDESK commentedI had to change core/modules/ckeditor/css/ckeditor-iframe.css in order to have another background color applied :
The iframe was always overruling any theme customized overrides, even from ckeditor library plugin.
Running on D8.3.7