Switching between ‘Visual’ and ‘Code’ messes up formatting
-
I’ve only noticed this today using WordPress’s visual editor. Whenever I toggled between ‘Visual’ and ‘Code’ views, the formatting of my text becomes one whole paragraphs. Any para breaks I’d set in Visual view I’d lose when I switch to code. Likewise, any <p> tags I specify in Code view is lost when I switch to Visual.
Is it just me or is this happening to other fellow WP’ers?
-
You’re not alone. This behaviour is meant to help people who don’t understand the code. But for Markup-wizards it’s, of course, a pain.
If proper code is important to you, you can deactivate the visual editor and turn off WordPress’ XHTML-“fixing”.
-
Deactivate visual editor at users > my profile
Turn off automatic nested xhtml code fixing at options > writing
-
- The topic ‘Switching between ‘Visual’ and ‘Code’ messes up formatting’ is closed to new replies.