Blazor Rich Text Editor Example - API
This sample demonstrates the usage of API in Rich Text Editor. Use the properties panel to change the maximum length, read only mode, disable status, to get value, enable HTML encode, select all content and get selected HTML from the Rich Text Editor.
Maximum Length |
|
ReadOnly |
|
Enabled |
|
Enable Html Encode |
|
In this demo, ensure the API's behavior by doing the following:
- Change the value of MaxLength textbox to change maximum Length of the character.
- Click the ReadOnly check box to enable/disable editable and non-editable modes of the RTE.
- Click the Enabled check box to enable/disable the RTE component.
- Click the EnableHtmlEncode check box to enableHtmlEncode/disableHtmlEncode the RTE component.
- Click the
GetValuebutton which shows the RTE values in the alert window. - Click the
SelectAllbutton to select all the text content in the RTE.