New to KendoReact? Start a free 30-day trial
Controlled Mode
By default, the React Editor, part of KendoReact, is in an uncontrolled mode.
Controlling the Value
To manage the value of the Editor:
Change Theme
Theme
Loading ...
Using String Value
The Editor's value
property can also be a string. The HTML representation of the Editor's document needs to be obtained by the html
getter of the onChange event object.
The following example demonstrates how to use a string value of the React Editor, part of KendoReact.
Change Theme
Theme
Loading ...
Using Uncontrolled Mode
To utilize the React Editor, part of KendoReact, in uncontrolled mode, use its defaultContent
prop to set initial HTML and the Editor's instance to get the edited HTML. See example.