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. . .
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.