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