Sometimes, you need to show the HTML source code of Redactor first, instead of the visual layer. To do this, use the showSource
option.
// HTML
<textarea id="#content"></textarea>
// Call Redactor
$R('#content', { showSource: true });
ShowSource mode will not be enabled if:
Please, see the example.