Email templates

Play with this demo and get email html code to see output in browser console.

This plugin is a paid add-on. You need to buy Redactor together with Email plugin if you don't have it yet. Or buy the plugin separately in your account if you already have Redactor.

This shows only a demonstration of how the plugin works, you can find the details of customization and usage in the documentation.

API Commands (see browser console)

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

        <!-- call -->
        <script>
        Redactor('#entry', {
            plugins: ['email', 'blockcolor', 'blockbackground', 'blockborder', 'blockfontsize', 'imageresize', 'mergetag', 'alignment', 'emoji'],
            pathbar: true,
            image: {
                width: true
            }
        });
        </script>
    </body>
</html>