Take a look at our new Article and Redactor X editors.


Align text left, center, right or justify. This plugin applies a specific style to selected text, allowing developers to tweak alignment precisely.


    <!DOCTYPE html>
            <meta charset="utf-8">
            <!-- redactor css -->
            <link rel="stylesheet" href="/your-folder/redactor.css" />
            <!-- element -->
            <textarea id="content">...</textarea>
            <!-- redactor js -->
            <script src="/your-folder/redactor.js"></script>
            <!-- plugin js -->
            <script src="/your-folder/plugins/alignment.js"></script>
            <!-- call -->
            $R('#content', { plugins: ['alignment'] });