Blazor Rich Text Editor Example - API

Rich Text Editor / Miscellaneous / 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.

Loading Syncfusion Blazor Server Demos…

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