$win #

Access to the Dom of window object.

var height = this.app.$win.height();

$doc #

Access to the Dom of document object.

var height = this.app.$doc.height();

$body #

Access to the Dom of the page body.

this.app.$body.append(something);

$element #

Access to the Dom of the source textarea element.

var name = this.app.$element.attr('name');

start #

Arguments
settings (optional) ObjectOptions object

Starts the editor, after stopping with the this.app.stop method.

this.app.start();
this.app.start(settings);

stop #

Stops the editor.

this.app.stop();

broadcast #

Arguments
name StringEvent name
arguments (optional) Object Arguments object

Broadcasts the event.

this.app.broadcast('myplugin.eventname');
this.app.broadcast('myplugin.eventname', { arg1: val1, arg2: val2 });