This sample demonstrates the different behavior of toolbar support in the Rich Text Editor. Change the toolbar type as multiRow or expand from the property panel to see its appearance . Check or uncheck the floating toolbar in property panel to look on its behavior.
The Rich Text Editor is WYSIWYG ("what you see is what you get") editor useful to create and edit content, and return the valid HTML markup or markdown of the content
Toolbar contains commands to align the text, insert link, insert image, insert list, undo/redo operations, HTML view, etc
Toolbar is fully customizable
You can insert a hyperlink with its corresponding dialog
Attach a hyperlink to the displayed text.
Customize the quick toolbar based on the hyperlink
The editor’s content can be validated on form submission by applying validation rules and validation message
The editor provides an option to localize its static strings to adapt the editor to a local language.
Allows you to insert images from an online source as well as the local computer
You can upload an image
Provides an option to customize quick toolbar for an image
Floating: set boolean value to toolbarSettings.enableFloating property to enable or disable the floating toolbar. The Rich Text Editor allows you to configure different types of toolbar using toolbarSettings.type property. The types of toolbar are: Expand: The toolbar hides the overflowing items in the next row. Click the expand arrow to view overflowing toolbar items Multi Row: The toolbar hides the overflowing items in the next row. Injecting Module The above features built as modules have to be included in your application. For example, to use image and link, inject the specific module using RichTextEditor.Inject (Toolbar, Link, Image, HtmlEditor, QuickToolbar).