Rich Text Editor / Miscellaneous / API

Blazor Rich Text Editor Example - API

Loading Syncfusion Blazor Server Demos…

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 GetValue button to view the Rich Text Editor values in the alert window.
  • Click the SelectAll button to select all text content in the Rich Text Editor.
Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE