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.
If I code a site by hand and wanted to show a code listing I would normally use a div calling a class showing the background and border, and have descendant p styles for the code, bold code and so on.
In the TinyMCE editor in SilverStripe, how do I get such styles to show up in the Format or Style dropdowns?
If you want to list clases (CSS) in the Styles dropdown in TinyMCE editor, you need to put them in the editor.css in your Theme folder.