Skip to main content
Skip table of contents

RichText

<RichText> controls are used to provide users of a web application with a WYSIWYG interface for editing HTML content.

<RichText> controls can be used in all available layout types:

  • BoxLayout

  • FlowLayout

  • GridLayout

  • ResponsiveLayout

  • TabLayout

In addition to the standard attributes listed under Controls, the following attributes can be defined for a <RichText> control:

Attribute

Description

displayName

Content to be edited with the rich text controls.

The value you specify in the displayName attribute is displayed only if the value attribute is empty.

  • Data binding possible

Possible values: any string

readonly

Specifies whether the rich text editing controls are displayed in the Web application.

  • Data binding (Boolean) is possible

Possible values:

  • true: The rich text editing controls are not displayed.

  • false (default) The controls for the rich text editor are displayed and can be opened with a single click of the mouse.

value

Content to be edited with the rich text controls.

This attribute is mandatory but does not need to contain a value.

If you do not specify a value or a value for displayName, the Web app displays a blank area for which you can click to display the rich text editing controls.

  • Data binding possible

Possible values: any string

The following rich text editing controls are displayed:

image-20240821-120652.png

Exporting Rich Text Content as PDF

If you add the <PDFExport> element within the <RichText> control, the image-20240822-062915.png (Export as PDF) button is displayed. You can use this button to download the content as a PDF file.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.