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.css impacts not visible


Reply


2 Posts   1242 Views

Avatar
tomklang

Community Member, 6 Posts

24 February 2010 at 6:31am

Hi,

just modified the typography.css file within my template folder to change the current formats in the backend WYSIWYG Editor. (Second Dropdown Menu).

What reasons are there that prohibit any impact of this change?
The description says changes are visible immediately...

How can I add own Styles, that the user can then select? (the first Dropdown)

Thanks
tom

Avatar
ChrisBryer

Community Member, 95 Posts

24 February 2010 at 11:19am

Theres a chance that the HtmlEditorConfig class doesnt know to load the css.. (this is a new feature as of 2.3.4 / 5, and has affected several people.

take a look at this link:
[url]http://www.silverstripe.org/themes-2/show/278592#post278592[/url]

you'll have to put this in your _config.php file:

HtmlEditorConfig::get('cms')->setOption('content_css', 'cms/css/editor.css, themes/[yourTheme]/css/editor.css');

if you have that base covered, try dumping your browsers cache and then open yoursite.com/admin?flush=all.

-Chris