Rich Text Editor
- Read-Only
- Automatic Height Adjustment
- Theme Variants
- Value Format
- Toolbar Actions
- Related Components
Note
|
Commercial feature
A commercial Vaadin subscription is required to use Rich Text Editor in your project. |
Rich Text Editor is an input field for entering rich text. It allows you to format and style your text using boldface, italics, headings, lists, images, links etc.
Automatic Height Adjustment
Theme Variants
Value Format
Rich Text Editor natively uses the JSON-based Delta format for reading and setting its value, but HTML values can also be used with some limitations.
Toolbar Actions
History
Button | Title | Description |
---|---|---|
Undo | Reverses the previous action | |
Redo | Restores actions undone by |
Emphasis
Button | Title | Description |
---|---|---|
Bold | Boldens text | |
Italic | Italicizes text | |
Underline | Underlines text | |
Strikethrough | Strikethroughs text |
Headings
Three different headings are available in Rich Text Editor; H1, H2 and H3. Use them in order to signify structure (and importance).
Button | Title | Description |
---|---|---|
H1 | Heading level 1 | |
H2 | Heading level 2 | |
H3 | Heading level 3 |
Subscript & Superscript
Button | Title | Description |
---|---|---|
Subscript | Subscript text is positioned below the normal baseline and with smaller font size | |
Superscript | Superscript text is positioned above the normal baseline and with smaller font size |
List
Button | Title | Description |
---|---|---|
Ordered list |
| |
Unordered list |
|
Alignment
Button | Title | Description |
---|---|---|
Left align | Left aligns text (default) | |
Center align | Center aligns text | |
Right align | Right aligns text |