Start working with the Email Designer and build reusable templates and fragments from your email HTML created in the Legacy Editor.
This use case enables you to create an Email Designer template by using an HTML email and dividing it into HTML components in the Email Designer.
Like the compatibility mode, an HTML component is editable with limited options: you can only perform in-place edition.
This section is for advanced users who are familiar with HTML code.
Switch to Mobile view. For more on this, see this section.
To fix this, switch to source code mode and copy-paste your style section into a new style section. For example:
<style type="text/css">
a {text-decoration:none;}
body {min-width:100% !important; margin:0 auto !important; padding:0 !important;}
img {line-height:100%; text-decoration:none; -ms-interpolation-mode:bicubic;}
...
</style>
Make sure you add your style after this in another custom style tag.
Do not modify the CSS generated by the Email Designer:
<style data-name="default" type="text/css">(##)</style>
<style data-name="supportIOS10" type="text/css">(##)</style>
<style data-name="mediaIOS8" type="text/css">(##)</style>
<style data-name="media-default-max-width-500px" type="text/css">(##)</style>
<style data-name="media-default--webkit-min-device-pixel-ratio-0" type="text/css">(##)</style>
Go back to the mobile view to check that your content is correctly displayed and save your changes.
Let’s try to convert this email, created in the legacy editor, into an Email Designer template.
We can identify 11 sections in this email.
To identify which element is which section of the HTML, you can select it.
To see the HTML version of the email, click Show source.
Drag and drop Structure components reflecting the layout of our email.
Repeat as many times as needed. We need to create 11 structure components.
Insert an HTML component in each Structure component .
For each section, click Show source code .
Insert the HTML section.
Click Save.
You can now check the rendering of your email.
Insert CSS elements to ensure that your email is suitable for mobile view.
Switch to source code and copy-paste your style section into a new style section.
For more on this, refer to Manage the style of your email.
Your legacy email is now available in the Email Designer.