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.
When using the TinyMCE editor (wysiwyg module) with this theme, it displays with a black background and grey text. I fixed this locally by adding the following lines to style.css:
body.mceContentBody {
background-color: transparent;
color: #000000;
}
I have attached a patch, which ought to fix this issue.
Comment | File | Size | Author |
---|---|---|---|
#6 | deco-tinymce-background-433516-6.patch | 716 bytes | c31ck |
deco.patch | 472 bytes | ukch |
Comments
Comment #1
Manonline CreditAttribution: Manonline commentedIf you are using WYSIWYG Api, yo must enter in the wysiyg settings page at "example.com/admin/settings/wysiwyg/profile", then clic "edit" in FCKEditor and in "CSS" select "Editor Default CSS". It worked for me,
sorry if my english is not enough. It isnt native.
Comment #2
strgpune CreditAttribution: strgpune commentedThanks buddy, it worked for me as well!!!
Comment #3
Lee-vit-Over CreditAttribution: Lee-vit-Over commentedI may very well be (and I'm sure I am) doing something wrong - but neither one of these fixes worked for me...
What am I missing, or what am I doing wrong ??
PLEASE someone ?
Lee-vit-Over@hotmail.com
THANK YOU !!!!
Comment #4
dmetzcher CreditAttribution: dmetzcher commentedGlad I searched before checking through my CSS. Switching to the Editor Default CSS corrected it for me.
Comment #5
kiwibytes CreditAttribution: kiwibytes commentedChanging the CSS option to use Default Editor CSS also worked for me.
Comment #6
c31ck CreditAttribution: c31ck commentedInstead of targeting tinyMCE, let's implement a more general solution. The problem here is that in style.css a black background color is applied to every body tag. The attached patch fixes this.
Comment #7
klaasvw CreditAttribution: klaasvw commentedThanks, this is working great for me. Committed to the 6.x-1.x-dev branch.
Comment #8
c31ck CreditAttribution: c31ck commentedCommitted to the 7.x-1.x-dev as well
Comment #9
Arunah CreditAttribution: Arunah commentedChanging the CSS option to use Default Editor CSS worked for me. Thanks