Code

The Code plugin allows to edit separately the code of each block or element in the popup.

Click on any block or element and see the control with the plugin icon on the left side.

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>
        <script src="/your-folder/plugins/code.js"></script>

        <!-- call -->
        <script>
        Revolvapp('#myemail', {
            plugins: ['code'],
            editor: {
                font: 'Inter, Helvetica, Arial, sans-serif',
                path: '/your-path-to-revolvapp-folder/',
                template: '/your-path-to-template-file.html'
            }
        });
        </script>
    </body>
</html>