The API model used to edit the Datalist.
Removes the Element itself.
var datalist = editor.getAPIModelById('id'); datalist.remove(); |
Replaces the element itself with the HTML String passed as an argument.
var datalist = editor.getAPIModelById('animals'); datalist.replace("<datalist id='animals'><option value='Dog'><option value='Cat'><option value='Chick'></datalist>"); |