|
External CSS Files
By default, r.a.d.editor populates its "Apply
Class" dropdown with the CSS classes available in the current page. However, it
can now be configured to load external CSS files instead. This scenario is very
common for editors integrated in back-end administration areas, which have one
set of CSS classes, while the content is being saved in a database and
displayed on the public area, which has a different set of CSS classes.
Thanks to the CssFiles property, you can specify
as a string array the list of CSS files, which you need the editor to use.
e.g.
CssFiles="~/Editor/Examples/StylesAndExternalCssFiles/styles1.css,~/Editor/Examples/StylesAndExternalCssFiles/styles2.css"
.
|