Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Typography and TinyMCE


Go to End
Reply


10 Posts   3377 Views

Avatar
Mohammed

Community Member, 25 Posts

30 January 2010 at 1:22pm

Edited: 30/01/2010 1:22pm

The problem seemed to come back in ver. 2.3.5. I was able to get it working by using the fix:

HtmlEditorConfig::get('cms')->setOption('content_css', 'cms/css/editor.css, mysite/css/editor.css');

Avatar
_Vince

Community Member, 162 Posts

16 July 2012 at 11:33pm

Thanks, Banal (and Mohammed).

I was trying to get the editor.css file happening because, if I use "color: #FFFFFF" for the <p> tags in my typography.css, the white writing does not show up against the white background of TinyMCS. I am using 2.4.7.

I found that adding stuff to the editor.css file worked out of the box for Firefox but Chrome required your fix. Odd...

Go to Top