Hey guys, need some help with the BodyClass option here!
The thing is, I have a custom config file for FCK:
FCKConfig.BodyClass = 'articlecontent';
The CSS defined is as follow:
.articlecontent { line-height: 18px; color: #535353; font-size: 14px; font-family: Arial, Tahoma; } .articlecontent a:link, .articlecontent a:active, .articlecontent a:visited { color: #0082bf; text-decoration: none; } .articlecontent a:hover { color: #da7601; text-decoration: none; }
And the FCK code is as this:
var ContentFCK = new FCKeditor('content'); ContentFCK.BasePath = 'lib/js/fckeditor.2.6.4/'; ContentFCK.Config["CustomConfigurationsPath"] = "../../../fck.config.js"; // Path relative to FCK ContentFCK.ReplaceTextarea();
Everything else works just fine, but only not the BodyClass. Any hint?
P.S.: I'm so glad and thankful that FCK works perfectly fine with XML/XSLT1.0 in FF3.5, which another popular WYSIWYG editor doesn't (you know which one I'm talking about. :p)
Re: Well, did I get something wrong?
Ok, sorry, my bad. I just realized from check through FireBug, that the body style of the editor area is inherited from another seperated CSS file. Actually, when i head back to the documents, there was one option to assign the EditorAreaCSS, which I just missed.