Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeEmacs
var element = editor.getAPIModelById('id');
element.setStyle('background-color: red;')

empty()

Remove all child elements.

Status
subtletrue
colourRed
titleIf all child elements are removed, an error may occur in subsequent operations.

...