-- Variant 1A -- Variant 2A -- Variant 2B-- Variant 1B -- Variant 3A -- Variant 3B-- Variant 1C -- Variant 4A -- Variant 4B
当我在另一个可重复/变体标记内嵌入mc:repeatable =“”和mc:variant =“”元素时,它不起作用.内部可重复项不会出现在编辑器中.删除内部可重复/变体标签会使内容再次出现,但重复内容块的能力显然会丢失.
这是代码的完整示例:
<tr mc:repeatable> <td><table> <tr mc:repeatable="rating" mc:variant="variant1"> <td> <div mc:edit="text"> </div> </td> </tr> <tr mc:repeatable="rating" mc:variant="variant2"> <td> <div mc:edit="text"> </div> </td> </tr></table> </td></tr>
有没有人能够在MailChimp模板中嵌套可重复/变体块?
解决方法 您无法在可重复的范围内嵌套可重复来自MailChimp:
总结The mc:repeatable attribute defines a content block that can be
repeatedly added to the template. When using mc:repeatable,make sure
to use proper nesting of items. An mc:repeatable section should never
be contained within an mc:edit section. Instead,nest your mc:edit
sections within your mc:repeatable blocks. Never nest mc:repeatable blocks within other mc:repeatable blocks,mc:edit areas within other mc:edit areas,or mc:edit images within mc:edit areas.
以上是内存溢出为你收集整理的html-email – MailChimp模板:嵌套的可重复变体?全部内容,希望文章能够帮你解决html-email – MailChimp模板:嵌套的可重复变体?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)