hello,
i’m trying to get the textarea box when editing a page to accurately represent the "look" of the site its editing.
i’ve gone to the Tools/Configuration/Interface&Features page and added my custom site css path/file to the "Path to CSS file" field, but it doesn’t seem to make any difference in the textarea’s look. (/styles/global.css).
so then after some research i found this page...
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/content_css
...and added this code to my "global.css" file...
/* TinyMCE specific rules */
body.mceContentBody {
background: #FFF;
}
.mceContentBody a {
color: red !important; /* FF requires a important here */
}
i did notice that the textarea editor DID represent it.
so then i decided to make it actually "match" the rest of the site and changed it to...
/* CMS specific rules */
body.mceContentBody {
background: #ffffff;
font-family: Verdana, Arial, Sans-Serif;
font-size: 12px;
line-height: 150%;
color: #292618;
}
.mceContentBody a:link, .mceContentBody a:visited {
color: #000000;
text-decoration: none;
background-color: #e1ded8;
}
.mceContentBody a:hover, .mceContentBody a:active {
color: #000000;
text-decoration: none;
background-color: #a8c5e4;
}
Interestingly enough, it works great when editing in Safari, but when editing in FireFox, everything shows correctly EXCEPT the link "color" and link "text-decoration" (which end up as default blue & underlined).
i DID add the "!important;" tag to each line, but that made NO difference.
any suggestions on how to get FireFox to represent?
thx.