Rich Text
Content Type: Widget
Categories: User Interface
Overview
This widget is a powerful, rich text editor.
Create rich formatted text with HTML output.
User interface options include an inline bubble toolbar on a text selection or a top toolbar.
Documentation
Please see Rich Text in the Mendix documentation for details.
Releases
Version: 5.0.0
Framework Version: 9.24.0
Release Notes: ### Added
- We added new configuration to allow users to use class names instead of inline styling in generated HTML to support strict CSP.
- We added a help button to the toolbar that opens a dialog listing the editor's keyboard shortcuts. The button is shown when the full toolbar is enabled and can be turned off with the new "Keyboard shortcuts" setting.
- We added translations for the toolbar, dialogs, and help texts. The editor UI now follows the page language automatically, with bundled translations for English, Dutch, German, French, and Spanish (falling back to English).
- We added support for creating nested tables.
### Changed
- We changed rich text's internal WYSIWYG engine from Quill to Tiptap. This allows rich text to have better support for nested tables. Internally, rich text still operates on HTML data stored in the attribute.ß
- We removed codemirror from code dialog viewer due to unsupported strict CSP policy. A simple internally built code editor using highlightjs is now replacing it.
Version: 4.12.0
Framework Version: 9.24.0
Release Notes: ### Added
- We added new configuration to make link Url validation optional. This will allow user to put non-standard Url into the link format.
### Fixed
- We fixed an issue where the editor kept adding infinite empty lines at the end by limiting it to only 1 empty line.
- We fixed an issue where lower alpha and lower roman list style converted into unordered list.
### Changed
- We added `trimEnd` functionality to make character count on status bar correctly count characters without including new line and empty character.
Version: 4.11.2
Framework Version: 9.24.0
Release Notes:
### Fixed
- We fixed an issue where hyperlink tag does not read target attribute when edited from code viewer.
Version: 4.11.1
Framework Version: 9.24.0
Release Notes: ### Fixed
- We fixed an issue where `
` tag not added properly on end of line. - We fixed an issue where tab `\t` being removed on save. - We fixed an issue where link tooltip get clipped by the boundaries of rich text.
` tag not added properly on end of line. - We fixed an issue where tab `\t` being removed on save. - We fixed an issue where link tooltip get clipped by the boundaries of rich text.
Version: 4.11.0
Framework Version: 9.24.0
Release Notes: ### Fixed
- We fixed an issue where onblur and onchange when user leave editor events not firing correctly if a focusable element is clicked as change focus user action.
### Changed
- We changed Tab keyboard behavior to add indentation instead of exiting focus from editor.
- We changed ` ` mark for empty line in favor for `
` break tag instead. ### Added - We added alt+F11 keyboard shortcut to do focus next, and alt+F10 to focus on toolbar. - We added shift+enter keyboard shortcut to add `
` break tag.
` break tag instead. ### Added - We added alt+F11 keyboard shortcut to do focus next, and alt+F10 to focus on toolbar. - We added shift+enter keyboard shortcut to add `
` break tag.
Version: 4.10.0
Framework Version: 9.24.0
Release Notes: ### Fixed
- We fixed an issue where in dojo mode, the rich text modal was causing a double scrollbar.
### Added
- We added character count options to the status bar to help users understand content length requirements and avoid validation failures when rich text HTML markup exceeds database attribute limits.
- We added a configuration to set default font-family and font-size when there are no other value currently selected in the toolbar.
- We allow white-space inline styling parsing in the widget.
### Fixed
- We fixed the issue that image uploader not able to show.
- We fixed the issue that code dialog not able to show.
- We fixed an issue whereas last input change event action failed to trigger due to debounce logic.
Version: 4.9.0
Framework Version: 9.24.0
Release Notes: ### Added
- We added support to change the form orientation of the link, image and video modals
Version: 4.8.1
Framework Version: 9.24.0
Release Notes: ### Fixed
- We fixed an issue where rich text table failed to properly functions if the widget is placed inside a table structure.
- We fixed an issue where rich text list-style-type format incorrectly parsed.
Version: 4.8.0
Framework Version: 9.24.0
Release Notes: ### Added
- We added support to choose image from entity using external widget.
- We added support to keep image ratio when resizing images.
### Fixed
- We fixed issue when empty paragraph do not shown as line break in html viewer by adding empty space content ` `.
- We fixed an issue where indented list throws error when reopen.
Version: 4.7.0
Framework Version: 9.24.0
Release Notes: ### Added
- We added support to add custom font families to Rich Text.