Jump to content

body with CTEDitor creating empty paragraphs


fabjeck
 Share

Recommended Posts

Hello all, all my body tags with cteditor create one empty paragraph before and one after the content that I have written. So then it looks like:
<p></p>
<p>My actual content</p>
<p></p>

In the field settings I checked the option "removing empty paragraphs" but than doesn't change anything. This Option propably only works for markup you create inside the body field.

Thanks for your help.

cheers

 

UPDATE: Found the error myself. I tought that i had to give out the body inside a p-tag as its content. But because the body tag itself creates p-tags my "wrapping" p-tag was empty.

Edited by fabjeck
solved
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...