Documentation
Source
is
Checks if the editor in the source mode.
var is = this.app.source.is();
toggle
Toggles the source view of Article Editor.
this.app.source.toggle();
open
Shows the source of Article Editor.
this.app.source.open();
close
Hides the source of Article Editor.
this.app.source.close();
getElement
Access to the Dom of the textarea element which show the source mode.
var $source = this.app.source.getElement();
var code = $source.val();
dkjgvo65776inru43654