Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Creating Custom Styles For Rich Text

mario@percussion.com edited this page May 9, 2023 · 1 revision

Customers have the ability to control the custom styles that are displayed in the Rich Text Editor widget. Before configuring the settings to display the correct style names, you must first ensure that the styles exist. They can either be part of your theme (see Working with Themes). Or you can enter override CSS as part of the template (see Styling Templates). Once you are sure that the CSS classes exist complete the following steps. 

  1. On the server, open the following file in a text editor: /rx_resources/css/PercRichTextCustomStyles.properties 
  2. Delete the styles/entries for which you have no corresponding CSS Class
  3. Add your own entries in the following format: <CSS_class_name>:<Class Description>
    Example: blueBorder:Blue Border
  4. Save changes

Once complete your custom styles will display within the Rich Text Editor when selecting Formats > Custom Styles.

Clone this wiki locally