Block Spacing

Allowing users to adjust the padding around content blocks, improving visual spacing and layout.

Click on any block, then on the 'control' menu icon on the left and you will see the 'Spacing' option in the dropdown.

Code

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

        <!-- css -->
        <link rel="stylesheet" href="/your-folder/redactor.css" />
    </head>
    <body>
        <!-- element -->
        <textarea id="entry">...</textarea>

        <!-- js -->
        <script src="/your-folder/redactor.js"></script>
        <script src="/your-folder/plugins/blockspacing/blockspacing.js"></script>

        <!-- call -->
        <script>
        Redactor('#entry', {
            plugins: ['blockspacing']
        });
        </script>
    </body>
</html>