This project is read-only.

TinyMCE Content Area styles

Topics: Developer Forum, User Forum
Apr 6, 2009 at 7:41 AM

Could somebody pls help me to find where exactly i can set CSS styles for TinyMCE ? I need that content area css be the same like on all project when admin edit content.
My site Theme located ~/App_Themes/MyThemeName/etc
I found this parameter in TinyMCE documentation
I've tried to add this setting to file  ~/Edit/Js/plugins/FreeTextArea.js  as i understand this is initialisation for TinyMCE but no results....
I also tried to replace directly file  ~/Edit/Js/tiny_mce/themes/advanced/skins/default/content.css but without any success too.

Apr 6, 2009 at 8:17 PM
Your changes are probably replaced by a configuration setting. Instead head into web.config and set:

<edit><tinyMCE cssUrl="/my/editor.css">

if you want in /my/editor.css:
@import url(/edit/css/editor.css);
Apr 7, 2009 at 1:06 AM
Thanks a lot! Works like a dream :)