AbstractEditor
Class defined in ui/AbstractEditor.js#26 inherits from

Reusable abstract editor implementation.

Example
class SimpleWriter extends AbstractEditor {

  render($$) {
    // render editor
  }

  documentSessionUpdated() {
    // actions in response to doc session updates. E.g. updating a toolbar
  }
}

Define the editors render method here.

Called when documentsession was updated (e.g. when the selection changes).

E.g. update toolbars.