Show the code first

Sometimes, you need to show the HTML source code of Redactor first, instead of the visual layer. To do this, use the showSource option.

    Demo

    Code

    <!--element -->
    <textarea id="content"></textarea>
    
    <!-- call -->
    <script>
    $R('#content', { showSource: true });
    </script>