Start with settings

This example shows how to start Redactor X with settings. In this example, the source mode is disabled and the editor has a focus on the start.


    <!DOCTYPE html>
        <title>Redactor X</title>
        <meta charset="utf-8">
        <!-- css -->
        <link rel="stylesheet" href="/your-dist-path/redactorx.min.css" />
        <!-- element -->
        <textarea id="entry">
        <!-- js -->
        <script src="/your-dist-path/redactorx.min.js"></script>
        <!-- call with settings -->
        RedactorX('#entry', {
            source: false,
            editor: {
                focus: true