So in the fckeditor config file I changed the default CSS for the editor to one of my files.
FCKeditor applies the styles correctly on everything except for hyperlinks. When I hit the preview button, the preview window has the links formatted properly, but they always stay blue and underlined within the editor area.
And here's the even weirder part. If I leave the a href="" part blank, it formats it properly. But every other address I put in there won't work unless it's http://www.google.com. www.google.com does nothing, ebay.com, http://www.ebay.com does nothing. It will only format the links with my style if I leave the address blank or explicitly put it as http://www.google.com
Any help with this one?
Fri, 04/24/2009 - 22:25
#1
Re: Editor Area CSS won't apply to links
I have used firebug, and I see that even inline styles are somehow not displaying, so I suspect the latter to be the case.
Does anyone have insight here?
Re: Editor Area CSS won't apply to links
The stylesheet I am trying to hand over to fckeditor (it works for the other styles I have) is:
body {
font: Takoma;
font-size:12px;
margin:0px;
padding:5px;
background:#FFFFFF;
color: #CCCCCC;
}
a {
text-decoration: none;
color: #123123;
}
Re: Editor Area CSS won't apply to links
Re: Editor Area CSS won't apply to links
That's an old bug if Firefox, and so far it seems that they are never going to fix it.
Re: Editor Area CSS won't apply to links
.heading a {
color: #abcabc !important;
}
This took care of all those problems for me