Documentation

Editor

editor.load

Occurs whenever the template is rendered in the editor.

editor.change

Occurs whenever the template is edited.

editor.rebuild

Occurs whenever the editor is rebuilt, for example when adding a new block to the template.

editor.before.set

Arguments
template StringTemplate of the editor.

Occurs before the template is set to the editor: on the start or when the editor.setTemplate API method is called.

editor.before.render

Arguments
template StringTemplate of the editor.

Occurs before the template is rendered on the start of editor.