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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

typography.css impacts not visible


Go to End


2 Posts   1631 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:
http://www.silverstripe.org/themes-2/show/278592#post278592

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