Hi there, I recently built an email master template and created the content blocks to use with drag-and-drop. I did code the HTML myself and used the meta
<meta type="xrm/designer/setting" name="type" value="marketing-designer-content-editor-document">
<meta type="xrm/designer/setting" name="layout-editable" value="marketing-designer-layout-editable">
I have placed the below div, which I believe to be the drag and drop area
<div data-layout="true" data-layout-version="v2" style="margin: auto; max-width: 600px;">...</div>
When I create the email, I face an issue when I clone or drag and drop a component. It does not go below the component, but it seems like it gets inserted within the other component.
Here is an example of the modules I built:
<div data-editorblocktype="Content" data-protected="false" style="width: 700px;" align="center" class="resptab contentBlockWrapper" data-lookup-name="MTMPL25 - Banner Image">
<div data-protected="false" class="resptab contentBlockWrapper" style="padding: 0; margin: 0 auto;">
<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" class="resptab" role="presentation" style="width:600px;" bgcolor="">
<tr align="center">
<td align="center">
<div data-editorblocktype="Image">
<img src="https://placehold.co/1200x800" alt="" style="font-family: 'Cfont', Helvetica, Arial, sans-serif; display: block; border: 0; font-size: 16px; font-weight: normal; color: #000001; line-height: 16px; mso-line-height-rule: exactly;" border="0" class="respimg" width="600" >
</div>
</td>
</tr>
</table>
</div>
</div>
When I add or clone a component, it goes underneath <div data-editorblocktype="Image"></div>. I need the next component to go underneath the last div like below:
<div data-protected="false" class="resptab contentBlockWrapper" style="padding: 0; margin: 0 auto;">
<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" class="resptab" role="presentation" style="width:600px;" bgcolor="">
<tr align="center">
<td align="center">
<div data-editorblocktype="Image">
<img src="https://placehold.co/1200x800" alt="" style="font-family: 'Cfont', Helvetica, Arial, sans-serif; display: block; border: 0; font-size: 16px; font-weight: normal; color: #000001; line-height: 16px; mso-line-height-rule: exactly;" border="0" class="respimg" width="600" >
</div>
</td>
</tr>
</table>
</div>
</div>
<div data-protected="false" class="resptab contentBlockWrapper" style="padding: 0; margin: 0 auto;">
<table cellpadding="0" cellspacing="0" border="0" width="600" align="center" class="resptab" role="presentation" style="width:600px;" bgcolor="">
<tr align="center">
<td align="center">
<div data-editorblocktype="Image">
<img src="https://placehold.co/1200x800" alt="" style="font-family: 'Cfont', Helvetica, Arial, sans-serif; display: block; border: 0; font-size: 16px; font-weight: normal; color: #000001; line-height: 16px; mso-line-height-rule: exactly;" border="0" class="respimg" width="600" >
</div>
</td>
</tr>
</table>
</div>
</div>
Has anyone experienced the same and found a solution?
Thank you in advance.
Dario