Focus on start

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

Code

<!-- element --> <textarea id="entry">...</textarea> <!-- call --> <script> let app = Redactor('#entry', { focus: true // use 'end' to set focus to the end of content }); </script>