Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Specifying presentation options for a Rich text editor control

Updated on April 5, 2022

After you create the Rich text editor control, configure how the control is displayed. You can specify whether the control is editable at run time, the width of the list control, and the label format for the control.

  1. On the Presentation tab of the Properties panel, specify the Edit options for the Rich text editor control. These selections take precedence over section and harness settings:

    • Auto – The list is editable for an application user, depending on the edit mode of the enclosing section or harness.

    • Read-only (always) – The property values for the list are read-only for the application user and you cannot change the size of the control.

    • Read-only (expression) – Select this setting and in the adjacent field press the Down Arrow key to select the expression used to evaluate the conditions in which the list's property values are read-only.

    • Read-only (when rule) – Select this setting and in the adjacent field press the Down Arrow key to select the when rule that determines the conditions in which the list's property values are read-only.

    • Editable – The list is editable for an application user.

  2. Set the Specify width option:

    • Auto – Select this setting to have the layout determine the width of the control.

    • Custom – Select this setting to specify a fixed width for the list in the corresponding Width field. You can set the list's width in pixels or as a percentage.

  3. Use the Control format field to specify the style format applied to the rich text editor. You can define multiple formats in the skin rule. Press the Down Arrow key to select another format, if applicable.

  4. Use the Label format field to set the format of the control's label.
  5. Optional: Specify advanced presentation options.

    Instead of creating a new custom format in the skin, you can adjust elements in a cell by applying Cascading Style Sheet (CSS) helper classes. For example, you can use a CSS helper class to center an element in a cell or to double the standard right margin for the element.

    • Cell read-write classes – Click the Open helper class picker icon to specify one or more CSS helper classes to apply to this cell when the form is displayed in read-write mode. You can enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this cell.
    • Cell read-only classes – Click the Open helper class picker icon to specify one or more CSS helper classes to apply to this cell when the form is displayed in read-only mode. You can enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this cell.
    • Inline style (not for production use) – You can use this field to define an inline style by entering CSS code. However, entering an inline style results in a guardrail warning. For maintainability and reuse, the recommended approach is to use read-write or read-only classes.
    For more information, see CSShelper classes.
  6. Click Submit. You can now Creating an action set.

  • Previous topic Selecting the property for a Rich text editor control
  • Next topic Skin formats for Rich text editor controls

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us