This sample shows how to add your own commands to toolbar of the rich text editor.
“Ω” command is added to insert special characters in the editor.
Click the “Ω” command to show the special characters list, and then choose the character to be inserted in the editor.
The custom command "insert special character" is configured as the last item of the toolbar. Click on the command and choose the special character you want to include from the popup.
The rich text editor allows you to configure your own commands to its toolbar using toolbarSettings property. The command can be plain text, icon, or HTML template. You can also define the order and group where the command should be included. Bind the action to the command by getting its instance. 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).