The new editor is fantastic but we are having a couple issues with the preview/display not respecting the HTML we have in the template.
For example, one of our <layout> blocks contains the following:
<layout label='Q & A'> <table class="content-table" border="0" cellspacing="0" cellpadding="10"> <tr><td> <h3>Question: <singleline label='Header' link='true'>Default Text</h3> <p><singleline label='Attribution'>Author</singleline></p><br /> <multiline label='Content'>Default Content</multiline> </td></tr> </table> </layout>
The display doesn't respect the closed H3 and instead renders teh Attribution singleline as though it should be formatted just like the H3. It doesn't appear this way when we send a test or when we click on the Preview link from the Snapshot screen.
Notice the Ed from Sacramento text in the screenshot. It should look like the default P text but it does not.
Is something wrong w/ my layout code?
This may or may not be the issue, but your first singleline tag isn't closed, and that might be confusing the editor.
Perhaps try this?
<h3>Question: <singleline label='Header' link='true'>Default Text</singleline></h3>
Wow, that is embarrassing. Guess this is one of those times where I've been looking at the code a bit too much...
Okay, I just checked the template and the template is right, seems I just can't copy and paste into the forum correctly. Still showing this issue on a template that seems to be coded correctly.
Also in going through my tests once I click "Preview" it seems to render the page correctly. It seems to be happening on H1s, 2s and 3s.
Hi khowe, we'll have to look at the template in your account to get to the bottom of this one - could you kindly contact our support team with campaign/account details, as well as a description of what you're seeing? Thank you so much :)
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.Get started for free