Select extends Element

The API model used to edit the Select.

Methods

remove()

Removes the Element itself.

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

replace(html)

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

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