Sometimes, you need to show the HTML source code of Redactor first, instead of the visual layer. To do this, use the showSource
option.
<!--element -->
<textarea id="content"></textarea>
<!-- call -->
<script>
$R('#content', { showSource: true });
</script>