Break extends Element

The API model used to edit breaks.

Methods

remove()

Removes the Element itself.

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

replace(html)

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

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