Title: editing posts &#8211; toggle between &#8220;text&#8221; and &#8220;code&#8221; loses all formatting.
Last modified: August 18, 2016

---

# editing posts – toggle between “text” and “code” loses all formatting.

 *  [drivinman](https://wordpress.org/support/users/drivinman/)
 * (@drivinman)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/editing-posts-toggle-between-text-and-code-loses-all-formatting/)
 * editing posts – toggle between “text” and “code” loses all formatting.
 * this is a new problem, which started happening after I looked and tweaked some
   CSS or theme files, trying to manage the font size of the header.
 * What’s weird is I don’t remember having this toggle feature before – but either
   way I can’t avoid using it now, and it’s totally dysfunctional.
 * Anytime I toggle to “code” to check my adsense ads or pictures, all the text 
   gets “scrunched”, losing all sentence and paragraph formating. (It all turns 
   into a single, long paragraph)
 * If I try to toggle back to “text mode”, most formatting is gone there as well,
   and there’s no sign of ads or images to be found.
 * — I’ve tried a few different themes as a work-around, thinking any tweaking I
   did before was specific to the theme, but this has had no effect.
 * Has anyone else encountered this, or have a suggestion to help me move forward.
   I’ll be upgrading WP soon, but was hoping to resolve this beforehand.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [jetlag26](https://wordpress.org/support/users/jetlag26/)
 * (@jetlag26)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/editing-posts-toggle-between-text-and-code-loses-all-formatting/#post-657509)
 * Turn off the Visual Editor.
 * You can do this by going to User > Profile > Uncheck Visual Editor Box on top
   of screen.

Viewing 1 replies (of 1 total)

The topic ‘editing posts – toggle between “text” and “code” loses all formatting.’
is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [text](https://wordpress.org/support/topic-tag/text/)
 * [toggle](https://wordpress.org/support/topic-tag/toggle/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jetlag26](https://wordpress.org/support/users/jetlag26/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/editing-posts-toggle-between-text-and-code-loses-all-formatting/#post-657509)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
