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'));

props Readonly<EditorProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the Editor component.

contentElement HTMLDivElement

Returns the content-editable DOM element of the Editor.

element HTMLElement

Returns the DOM element of the Editor.

view EditorView<any>

Returns the view object of the Editor.

 /