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