Documentation
Source
toggle
Toggle the source view of Redactor.
this.app.api('module.source.toggle');
or external call:
$R('#content', 'module.source.toggle');
show
Show the source of Redactor.
this.app.api('module.source.show');
or external call:
$R('#content', 'module.source.show');
hide
Hide the source of Redactor.
this.app.api('module.source.hide');
or external call:
$R('#content', 'module.source.hide');
sync
Sync the editable layer content with the source (textarea value).
this.app.api('module.source.sync');
or external call:
$R('#content', 'module.source.sync');
dkjgvo65776inru43654