Examples

Focus start

    This example shows how to set the focus to the beginning of the content after calling Redactor.

    Demo

    Code

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