2. Shop

This template is designed for e-commerce platforms, featuring an automated engagement trigger for users who have browsed products but haven't made a purchase yet.

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>