New to KendoReactStart 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'));
NameTypeDefaultDescription

contentElement

"null" | HTMLDivElement

Returns the content-editable DOM element of the Editor.

element

"null" | HTMLElement

Returns the DOM element of the Editor.

props

Readonly<EditorProps>

The props of the Editor component.

value

string | Node

The value of the Editor.

view

undefined | EditorView

Returns the view object of the Editor.

Not finding the help you need?
Contact Support