New to KendoReact? Start a free 30-day trial
Editor
A subclass of React.Component.
Represents the KendoReact Editor component.
jsx
class App extends React.Component {
render() {
return (
<Editor
defaultContent="<p>Hello World</p>"
tools={[
[ EditorTools.Bold, EditorTools.Italic ]
]}
/>
);
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));
Name | Type | Default | Description |
---|---|---|---|
contentElement |
|
Returns the content-editable DOM element of the Editor. | |
element |
|
Returns the DOM element of the Editor. | |
props |
|
The props of the Editor component. | |
value |
|
The value of the Editor. | |
view |
|
Returns the |