Author Stylesheet Plugin Extension
This plugin type allows the developer to add a stylesheet (CSS or LESS) that renders elements in Author mode.
To specify additional stylesheets, edit the plugin descriptor and add
extension
elements that point to them, as in the following example:
<extension type="AuthorStylesheet" href="showTables.css"/> <extension type="AuthorStylesheet" href="hideButtons.css"/>
Using this mechanism, you can add one or more CSS stylesheets to merge with the existing ones. Whenever you add a new stylesheet using this plugin, it will have priority over all other stylesheets applied on the file edited in Author mode.
If your implementation requires more flexibility (such as a dynamic change of the
stylesheet), you should consider using the StylesFilter
plugin extension.