mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #4394 from simonwinter/patch-1
Update 05_Typography.md
This commit is contained in:
commit
d083c9622a
@ -11,6 +11,11 @@ SilverStripe lets you customize the style of content in the CMS. This is done by
|
||||
|
||||
Will load the `mysite/css/editor.css` file.
|
||||
|
||||
If using this config option in `mysite/_config.php`, you will have to instead call:
|
||||
|
||||
:::php
|
||||
HtmlEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css');
|
||||
|
||||
Any CSS classes within this file will be automatically added to the `WYSIWYG` editors 'style' dropdown. For instance, to
|
||||
add the color 'red' as an option within the `WYSIWYG` add the following to the `editor.css`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user