RichTextEditor Properties
A list of read-only properties that you can use to retrieve editor related objects.
| Property | Description |
|---|---|
| editor.document | The editor’s content document. Create nodes with it before calling insertElement(). |
| editor.window | The content window of the editing surface. |
| editor.input | The hidden form input the editor keeps in sync, when one is present. |
| editor.snippets | Registered snippet definitions used by snippet expansion. |
| editor.toolbarFactoryMap | Maps a toolbar item name to its factory function. Plugins register custom toolbar items here. |
| editor.config | Stores all configurations specific to this editor instance. |
| editor.container | Returns the external <div> element which contains the editor instance. |
| editor.iframe | Returns the iframe object of the editor instance. |
| editor.document | Returns the active editor document object of the editor instance. |
| editor.window | Returns the active editor window object of the editor instance. |
| editor.selection | Returns the selection object of the editor instance. |