The API model used to edit tabs.
Remove the Element itself.
var tab = editor.getAPIModelById('id'); tab.remove(); |
Replaces the element itself with the HTML String passed as an argument.
var tab = editor.getAPIModelById('id'); tab.replace('<span>Tab replaced</span>'); |