can you prevent Email 2.0 editor template to stop adding <p> tags? | Community
Skip to main content
Bryant_Chang
New Participant
August 15, 2016
Solved

can you prevent Email 2.0 editor template to stop adding <p> tags?

  • August 15, 2016
  • 1 reply
  • 2789 views

I am trying out a few of the starter templates in the new email 2.0 editor.

I noticed that anytime I make edits to and mkto text area <p> tags get added around the text that are not originally in the templates.

Which will distort the spacing.

Even when I just open the rich text editor, make no changes, and click save.

Is anyone else seeing this? and how can I make this stop happening?

Thanks

B

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jim_Thao7

This sounds like default behavior to me.  Marketo has to wrap your content in some kind of element tag.  Whether it be a <p> or <div> or <span>, it has to be something.  I would recommend that you declare your own tags in the HTML if the <p> tags do not do justice to your formatting.

You can also try changing your settings in Admin>Email to "None" for the "Edit Text Editor Settings" to see if that helps.

1 reply

Jim_Thao7
Jim_Thao7Accepted solution
New Participant
August 15, 2016

This sounds like default behavior to me.  Marketo has to wrap your content in some kind of element tag.  Whether it be a <p> or <div> or <span>, it has to be something.  I would recommend that you declare your own tags in the HTML if the <p> tags do not do justice to your formatting.

You can also try changing your settings in Admin>Email to "None" for the "Edit Text Editor Settings" to see if that helps.

Justin_Cooperm2
New Participant
August 15, 2016

This is the default behavior of Marketo's text editor. It has nothing to do with Email 2.0. It can be changed, as Jim said, in Admin > Email > Edit Text Editor Settings.

Some customer's templates prefer to have a <p>, some prefer nothing, and others prefer <div>. We leave it up to you.

Thanks,

Justin