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
      }
    }

new AbstractEditor()
Constructor defined in ui/AbstractEditor.js#28
this.render()
Method defined in ui/AbstractEditor.js#36

Define the editors render method here.

this.documentSessionUpdated()
Method defined in ui/AbstractEditor.js#130

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

E.g. update toolbars.