492 Posts in 153 Topics by 243 members
|Go to End|
4 December 2009 at 6:03am Last edited: 4 December 2009 7:44am
while upgrading from 2.3.3 to 2.3.4 I have noticed that my custom editor.css won't load anymore for TinyMCE in the CMS. So I have traced the problem and I found out that you moved HtmlEditorConfig::get('cms')->setOptions() from LeftAndMain to cms/_config. So the problem is that you actually check SSViewer::current_theme() before I call SSViewer::set_theme().
My solution so far is to simply set the content_css value again in my own _config but I guess this shouldn't be the point.
'content_css'=>'cms/css/editor.css, '.(SSViewer::current_theme() ? THEMES_DIR . "/" . SSViewer::current_theme() : project()) . "/css/editor.css"
But maybe I overlooked something.
4 December 2009 at 7:08am Last edited: 4 December 2009 10:01am
Yes, the editor.css doesn't load anymore in 2.3.4
I'will try this workaround, but I think this shouldn't be the "official" way...
/edit: It works with your addition to the _config.php, thanks for posting this!
4 December 2009 at 9:24am
This bug has been fixed http://open.silverstripe.org/ticket/4493
See the discussion on the mailing list: http://groups.google.com/group/silverstripe-dev/browse_thread/thread/2a621d7d50beb441
|Go to Top|