Blazor Rich Text Editor Example - API
Maximum Length |
|
ReadOnly |
|
Enabled |
|
Enable Html Encode |
|
Enable Markdown Auto Format |
|
This sample demonstrates the usage of APIs in the Rich Text Editor. Use the properties panel to change the maximum length, enable/disable read-only mode, disable status, retrieve values, enable HTML encode, select all content, and get selected HTML from the Rich Text Editor.
In this demo, ensure the API's behavior by performing the following actions:
- Change the value of the MaxLength textbox to change the maximum character length.
- Click the ReadOnly checkbox to enable/disable editable and non-editable modes.
- Click the Enabled checkbox to enable/disable the Rich Text Editor component.
- Click the EnableHtmlEncode checkbox to enable/disable HTML encoding.
- Click the EnableMarkdownAutoFormat checkbox to enable/disable markdown auto-formatting.
- Click the
GetValuebutton to view the Rich Text Editor values in the alert window. - Click the
SelectAllbutton to select all text content in the Rich Text Editor.