Можете ли вы использовать mc: repeatable для перетаскивания разделов в MailChimp? - PullRequest
0 голосов
/ 22 марта 2019

Я использую шаблон из MailChimp, который позволяет мне выполнять перетаскивание, я удалил все, кроме тела, чтобы у меня был статический верхний и нижний колонтитулы. Я пытаюсь повторить тело, чтобы создать разные «строки» с разными цветами фона.

Каждый раз, когда я пытаюсь добавить mc: repeatable, и я повторяю таблицу, она повторяет таблицу, которая не является частью перетаскивания.

<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" class="bodyTable">
    <tr>
        <td align="center" valign="top" class="bodyCell">
            <!-- BEGIN TEMPLATE // -->
            <!--[if gte mso 9]>
            <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
            <tr>
            <td align="center" valign="top" width="600" style="width:600px;">
            <![endif]-->
            <table mc:repeatable="band" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
                <tr>
                    <td valign="top" id="templateBody" mc:container="body_container" mccontainer="body_container" class="tpl-container">
                        <div mc:block="3502189" mc:blocktype="text" mcblock="3502189" mcblocktype="text" class="tpl-block">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
                                <tbody class="mcnTextBlockOuter">
                                    <tr>
                                        <td valign="top" class="mcnTextBlockInner" style="padding-top:10px;">
                                            <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="mcnTextContentContainer">
                                                <tbody><tr>

                                                    <td valign="top" class="mcnTextContent" style="padding-top:0; padding-right:20px; padding-bottom:10px; padding-left:20px;">

                                                        <h1>It's time to design your email.</h1>
                                                        <p>Now that you've selected a template, you'll define the layout of your email and give your content a place to live by adding, rearranging, and deleting content blocks.</p>
                                                        <p>When you're ready to change the look of your email, take a look through the “design” tab to set background colors, borders, and other styles.</p>
                                                    </td>
                                                </tr>
                                            </tbody></table>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
...