Textbox.io 2.x Documentation : editor.element

Returns the editor container DOM element, this HTML element is unique to each editor instance and contains all Textbox.io UI components.

Example

editor.restore()
// Replace the element with id 'replaceMe' 
var editor = textboxio.replace( '#replaceMe' );
// Get the editor container element
var element = editor.element();

Returns

elementHTML element

The element that contains all the Textbox.io UI components for the editor instance.