Rich text editor
To help you with the editing of text fields, the rich text editor allows you to work with content in an intuitive WYSIWYG (“What You See Is What You Get”) manner. The editor provides essential formatting functionality, e.g., bold, italics, paragraph formatting, lists, or indentation.
When editing, you can also switch to a code view to see the corresponding HTML formatting of the text. The count of the currently entered characters is always displayed at the bottom right corner of the editor.
Format text
The rich text editor offers essential formatting functionality. You can use the editor toolbar to format text within the editor.
Following is the default setup of the rich text editor (the editor might offer different functionality in your projects, depending on the configuration set by the developers):
- Bold (Ctrl + B)
- Italic (Ctrl + I)
- Underline (Ctrl + U)
- Paragraph format
- Use the Paragraph format button to further break down the text into sections using predefined header formatting.
- Ordered List
- Unordered List
- Decrease Indent (Ctrl + [)
- Increase Indent (Ctrl + ])
- Align Left
- Align Center
- Align Right
- Code View
- Select Code View to see and edit the corresponding HTML formatting of the text.
- Insert image - insert a content hub or a media library image into the edited content.
- Selecting an inserted image offers additional options:
- Alternative text – sets the alt text property.
- Align – controls image alignment.
- Display – sets display style.
- Change size – resizes the image.
- Remove – deletes the image.
- Selecting an inserted image offers additional options:
- Insert link
- Select any Asset from the content hub or a media library (e.g., image, spreadsheet, PDF, text document) and insert a hypertext link to the file into the edited content.
- Select a Page from the content tree and insert a link into the edited content. Note that you can only select pages of content types that have the URL feature enabled.
- Select Web URL to insert a hypertext link to any external resource into the edited content.
Allowed HTML attributes and tags
In order to mitigate possible security threats, the rich text editor sanitizes the content’s HTML code. That is, any HTML attributes and tags that are not allowed are removed. This may in some cases modify or break your HTML code, for example when adding content via the editor’s Code View option.