Edit online

Customizing the Author Visual Editing Mode

The Author visual editing mode is based on CSS. Besides supporting most of the CSS 3 specification, Oxygen XML Editor adds some custom CSS selectors, properties, and functions. Customization possibilities include:

  • Use CSS selectors to match XML comments, processing instructions, entities, and CDATA sections.

  • Change the tags display mode and tag color for certain elements, mark certain XML elements as not editable, and other customizations using additional CSS properties.

  • Use custom CSS functions. For example, the oxy_xpath function allows you to run an XPath search over the document and use that value as static text.

  • In custom pseudo-classes, you can match values that can be changed via a custom action.

  • There are specific @media types that can be used to mark certain CSS sections for a certain distribution.

  • Fonts can be dynamically loaded and used for rendering.