Tab extends Element

The API model used to edit tabs.

Methods

remove()

Remove the Element itself.

var tab = editor.getAPIModelById('id');
tab.remove();

replace(html)

Replaces the element itself with the HTML String passed as an argument.

var tab = editor.getAPIModelById('id');
tab.replace('<span>Tab replaced</span>');