Textbox.io Editor instances are represented by
editor. Instances are created by
inlineAll. You can also get editor instances by calling the
The editor instance allows you to interact with a specific editor's content and events.
|Groups methods relating to an editor instance's content.|
|Groups methods relating to an editor instance's event model.|
|Groups properties relating to an editor instance's content filters.|
|Groups properties relating to an editor instance's macros.|
Provides methods to set/get the editor's mode to either
|Returns the editor container DOM element.|
|Focus a Textbox.io editor instance.|
|Display a message banner in the editor UI.|
|Removes this Textbox.io Editor instance from its DOM element.|
get returns arrays of editor instances. The examples in this section assume a single editor - the first editor instance in the returned array.
// Retrieve the first editor instance in the returned array var editors = textboxio.get('textarea'); var editor = editors;