Start with plugins

This example shows how to start Redactor X with plugins. Click on any paragraph to see the inline format plugin icon on the toolbar.

Code

<!DOCTYPE html>
<html>
<head>
    <title>Redactor X</title>
    <meta charset="utf-8">

    <!-- css -->
    <link rel="stylesheet" href="/your-dist-path/redactorx.min.css" />
</head>
<body>
    <!-- element -->
    <textarea id="entry">
        <p>Content</p>
    </textarea>

    <!-- js -->
    <script src="/your-dist-path/redactorx.min.js"></script>

    <!-- plugin js -->
    <script src="/your-dist-path/plugins/inlineformat.js"></script>

    <!-- call with settings -->
    <script>
    RedactorX('#entry', {
        plugins: ['inlineformat']
    });
    </script>
</body>
</html>