Hi,
Trying to create some email templates - when I use a text block and type normal text it wraps it in <div> tags instead of <p> which the old editor used.
This is good for Outlook emails, since adding a linebreak between “paragraphs” adds a
<div> </div>
which Outlook seems to honour and saves having to do the old manual trick of adding
<!--[if mso]><br><![endif]-->
after each <p> tag within a block.
Some of these templates we need to send from our internal system - but when I export the HTML it is removing the non-breaking space ( ) from between the <divs> - this means all paragraphs are squished together.
eg: In a text block I type:
Some words
Another paragraph
Viewing the code it is:
<div>Some words.</div>
<div> </div>
<div>Another paragraph</div>
But when I export, it becomes:
<div>Some words.</div>
<div> </div>
<div>Another paragraph</div>
Can you please advise how to export so it doesn’t remove the code.
Or alternatively, why the text block is using <div> instead of <p> tags?
And is there any way to make the context editor wider? It is difficult to work on long text in that small window area.
Thanks.
Best answer by MarkG
View original