This sample demonstrates the full features of rich text editor that includes all the tools and functionalities.
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
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
This sample used Code mirror plugins helps to highlight the HTML content and when changes happens in code view, the same has been reflected in preview mode. The editor’s toolbar contains commands to format the content. The toolbar consists of: Lists - Ordered and unordered list types. Links - A hyperlink can be inserted into the editor for quick access to related information. Image - Inserts and manages images. Table - Inserts and manages Tables. Alignment - Aligns the content with left, center, and right margins. Undo/Redo - Allows undo/redo operations. Indent/ Outdent - Increases/decreases the indent level of the content. Font - Able to do styling on text like font family, size, fore color and background color. Lower / Upper case – Changes the casing of the selected text. SubScript / SuperScript - Makes the selected text as subscript (lower)/superscript(upper). FullScreen - Stretches the editor to the maximum width and height of the browser window. Format – Formats the sentence in different ways such as heading level, quotation, and code snippet Styles – Allows you to apply inline styles to the selected content like bold, italic, and more. Insert Code - Allows you to apply code format to the selected parent nodes. In the above sample, the style for the code format ('pre' tag) is applied by adding the background color. 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, Count, HtmlEditor, QuickToolbar, Table).