How do I stop FCKEditor from wrapping everything in paragraph tags? [solved]
Posted: Tue Oct 23, 2007 10:39 pm
I'm trying to add a global content block in the sidebar of my site, and when I do FCKEditor wraps it in tags. I get this:
And what I need is this:
This occurs as soon as I move from Source view.
The extra causes formatting issues. This has also been affecting me with other instances (floating images in text, for instance). Is there a way to stop the editor form adding these in?
PS - FCKEditor keeps adding extra empty paragraph tags for no reason, with no regularity, in other content blocks - I'll make a text change, then find out it added an extra paragraph after a header photo…
Code: Select all
<p>{global_content name='quick_facts'}</p>Code: Select all
{global_content name='quick_facts'}The extra causes formatting issues. This has also been affecting me with other instances (floating images in text, for instance). Is there a way to stop the editor form adding these in?
PS - FCKEditor keeps adding extra empty paragraph tags for no reason, with no regularity, in other content blocks - I'll make a text change, then find out it added an extra paragraph after a header photo…