Documentation

RichTextEditor Properties

A list of read-only properties that you can use to retrieve editor related objects.

PropertyDescription
editor.documentThe editor’s content document. Create nodes with it before calling insertElement().
editor.windowThe content window of the editing surface.
editor.inputThe hidden form input the editor keeps in sync, when one is present.
editor.snippetsRegistered snippet definitions used by snippet expansion.
editor.toolbarFactoryMapMaps a toolbar item name to its factory function. Plugins register custom toolbar items here.
editor.configStores all configurations specific to this editor instance.
editor.containerReturns the external <div> element which contains the editor instance.
editor.iframeReturns 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.selectionReturns the selection object of the editor instance.