Editor

A subclass of React.Component.

Represents the KendoReact Editor component.

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.

In this article

Not finding the help you need?