Block Code

Enables editing of individual block code within a popup, offering a focused and efficient modification experience.

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

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/blockcode/blockcode.js"></script>

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