Make blocks unremovable

This example shows how to make some blocks unremovable. See the blocks inside the footer, some of them are not removable.

    Code

    <!DOCTYPE html>
    <html>
        <head>
            <title>Revolvapp</title>
            <meta charset="utf-8">
    
            <!-- css -->
            <link rel="stylesheet" href="/your-folder/revolvapp.css" />
        </head>
        <body>
            <!-- element -->
            <div id="myemail"></div>
    
            <!-- js -->
            <script src="/your-folder/revolvapp.js"></script>
    
            <!-- call -->
            <script>
            Revolvapp('#myemail', {
                editor: {
                    path: '/your-path-to-revolvapp-folder/',
                    template: '/your-path-to-template-file.html'
                },
                image: {
                    upload: '/my-backend-upload/'
                }
            });
            </script>
        </body>
    </html>

    Usage

    Sometimes it is needed that blocks will be not removable. To do this, set the unremovable attribute for any tag and it will become unremovable.

    In this example template, we have set the unremovable attribute for some blocks in the footer. You can check it, it is now unremovable.

    <re-text unremovable="true">...</re-text>