Add Custom Styles to Rich Text

How to use labels to add style options in your Rich Text fields

Written by Levi Gable Updated over a week ago

For special formatting in your Rich Text content, you can add labels. Labels will wrap the selected content in a span element with the class of the given name. You can then add whatever CSS you need for that class.

Configure the Label

This is an advanced configuration that can currently only be set up in the JSON editor.

Here is an example of a Rich Text field that provides the label options “right-align” and "center-align":