Sculpt block rich text input fields provide a customizable text editing interface inside of Sculpt blocks, making it easy for anyone to create richly formatted content without having to understand HTML or CSS.
Rich text fields support common text formatting features including text styling (color, bold, underline, italicize, strikethrough), font family selection, format stripping, ability to undo/redo typing, and link insertion.
You can create Sculpt blocks with rich text input fields restricted to only the brand approved text editing features and make them available to the marketer via the block library for use in Sculpt messages.
Working With Rich Text Fields
The rich text field type is a free-form text area with a customizable text editing interface. New Sculpt blocks with rich text field types can be created by navigating to Content > Sculpt Blocks. You can also edit existing blocks containing plain Text Area field types, that you want to replace with a rich text editor, and grant your marketers access to text formatting options for that content.
If you are new to Sculpt blocks, check out our creating Sculpt blocks video for a quick introduction.
For this example, we are going to use our downloadable Call to Action (CTA) Sculpt block, where the Body Text is set to plain Text Area field type. We will change the field type to Rich Text so our marketers can bring this content to life without touching HTML or CSS.
We are going to configure the rich text field as follows:
- Remove Underline and Strikethrough buttons
- Add Arial, Helvetica, Sans-serif as an optional font-family stack
- Add 24px as an optional font size
- Add red as an optional font color
Notice that the line break HTML tag previously used in the Text Area field is no longer required. The rich text field automatically creates line breaks and paragraph spacing as the marketer organizes content using keystrokes.
If instead of using an existing Sculpt block, you created a new block with Rich Text fields, it would be necessary to add the resulting variable key names to your block HTML in order for the fields to populate correctly during message creation. Please see Adding Variable Key Names to HTML.
Preview Rich Text Field Configuration
Using the Preview in Sculpt Editor from the toolbar menu, you can preview how the rich text fields will appear to the marketer during message creation. This is a live preview of the rich text field so feel free to test your configuration before saving the block. Switch to Edit Block view if additional changes need to be made.
Configuring Link Properties
Rich text fields allow you to configure link style options available to the marketer along with adding dynamic link functions that will, in turn, be rendered as UI elements for the marketer to simply input appropriate values into.
The Add/edit link checkbox controls the appearance of the Link properties button within the rich text field.
The selected link properties will be configurable by the marketer during message creation.