Hi Janine,
I’ve been creating posts in Dreamweaver and then copying and pasting them into WordPress. I love being able to use Dreamweaver’s more sophisticated editor, but WordPress keeps deleting my paragraph and break tags. Is there a way to prevent WordPress from stripping out my line breaks?
It’s making me crazy. . .
Jeff
Hi Jeff,
I know exactly what you’re talking about, but it has nothing to do with Dreamweaver. That behavior is part of TinyMCE, which is the editor running behind the WordPress engine. It’s a common problem, so common there is a relatively easy fix.
Download and install the plug-in called TinyMCE Advanced, and you can change this annoying WordPress behavior. I recommend TinyMCE Advanced for every WordPress site.
To stop WordPress from stripping out your break and paragraph tags, open the Settings page for the plug-in after you install it. At the very bottom of the Settings page, you’ll find a check box that says “Stop removing <p> and <br /> tags when saving and show them in the HTML editor.”
Check that little box, and keep your sanity.
Janine
Hi Janine,
Even after installing TinyMCE Advanced, and checking the and box you mention above, the Visual editor still deletes the tags.
It seems the only way around this issue is to ensure you land in the text editor when you want to edit a page, ignoring the visual editor completely. This of course makes the TinyMCE Advanced plug-in totally redundant as the extra style and formatting options only appear in the visual editor. Absolute nightmare.
Ben
TinyMCE Advanced plug-in will add extra tags your content that is worst than removing tags