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