You may be confusing the CSS and Styles settings.
The CSS setting is where you can write CSS rules, or enter the full URL to a CSS file which contains the styles you want applied to the editor content when editing on the entry screen. These styles have no effect on the content which is output by Expresso in your templates.
The Styles setting is where you can enter custom rules to be added to the Styles dropdown in order to allow you to apply class names or style attributes to specific elements in the editor, following the format outlined in the docs, e.g.,
{ name: "Red Title" , element: "h3", styles: { "color": "Red" } }, { name: "CSS Style", element: "span", attributes: { "class": "my_style" } }, { name: "Marker: Yellow", element: "span", styles: { "background-color": "Yellow" } }
Note that you cannot apply custom Styles via individual field settings - they can only be added globally via the global fieldtype settings.
|