Loading
The Trailblazer Community is now read-only Read More
Style Text in the Rich Text Editor of a Flexcard Text Element (Managed Package)

Style Text in the Rich Text Editor of a Flexcard Text Element (Managed Package)

For the managed package runtime, style plain text and merge fields inside the Flexcard Text element's rich text editor. Enter a merge field, such as data fields, or context variables, such as session variables.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

For available context variables and their corresponding merge fields, see Flexcards Context Variables (Managed Package).

The Text element's rich text editor adds an HTML div for each text section to build the layout of the element. Add SDLS and NDS classes and other formatting options to each div to style your text.

Before You Begin

  1. To add NDS or SLDS classes to change the text style:
    1. Click into a div in the rich text editor.

    2. To adjust the size or style of the text, click the Paragraph dropdown, and select one or more classes from Headers or Body section.

    3. To change the color of the text, click the Paragraph dropdown, and select a class from the Color section.

    4. To remove a class, select the class again.

    For SLDS class descriptions, see SLDS Text documentation.

  2. To manually update the text size, weight, style, font, and color, select the text, then select from one of the rich text editor's formatting options.

    For example, to make the text bold, select text, and click the B icon.

  3. To create a list, adjust alignment, or set indentation, click into a div, and select from the list, alignment, or indentation formatting options.

    For example, to add indentation, select the text, and select the Increase Indentation icon.

  4. To clear formatting, select the text, and click the Clear formatting icon.
 
Loading
Salesforce Help | Article