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.
Max Length
|
|
Readonly
|
|
Enable
|
|
Enable HTML Encode
|
|
|
|
|
|
|
In this demo, we are going to ensure the API'S behaviour by
maxLength
textbox to change maximum Length of character.readOnly
check box to enable/disable editable and non-editable mode of the RTE.enabled
check box to enable/disable the RTE component.enableHtmlEncode
check box to enableHtmlEncode/disableHtmlEncode the RTE component.getValue
button which shows the RTE values in the alert window.getSelection
button which shows the selectedText in the alert window.selectAll
button selecting all text content in the RTE.