mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOCS: correct config setting for custom editor.css
see a964e7636e/admin/code/LeftAndMain.php (L287-L308)
This commit is contained in:
parent
417bccfe8d
commit
a1e343629b
@ -7,7 +7,7 @@ SilverStripe lets you customize the style of content in the CMS. This is done by
|
|||||||
`editor.css` in either your theme or in your `mysite` folder. This is set through
|
`editor.css` in either your theme or in your `mysite` folder. This is set through
|
||||||
|
|
||||||
:::php
|
:::php
|
||||||
HtmlEditorConfig::get('cms')->setOption('ContentCSS', project() . '/css/editor.css');
|
HtmlEditorConfig::get('cms')->setOption('content_css', project() . '/css/editor.css');
|
||||||
|
|
||||||
Will load the `mysite/css/editor.css` file.
|
Will load the `mysite/css/editor.css` file.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user