Reorder

This plugin adds the ability to reorder blocks or elements in the editor.

    Demo

    Click on a block or element, then drag the block with the first icon on the control bar.

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