Title: Code isn&#8217;t actually code
Last modified: August 18, 2016

---

# Code isn’t actually code

 *  [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/)
 * Unless I’m missing something in the options, the “Code” editor doesn’t actually
   display the code of the post like the old HTML popup window did.
 * The opening and closing paragraph tags don’t show, which I found made it very
   difficult for me to align my images & text post how I wanted to.

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [drmike](https://wordpress.org/support/users/drmike/)
 * (@drmike)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530135)
 * The paragraph tags are probably thrown in there by the editor. Wouldn’t surprise
   me actually. I don’t use TinyMCE.
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530142)
 * Well, yeah, when you view the source you can obviously see the paragraph tags.
   It’s just, you’d expect to see _all_ of the HTML when you use the code editor–
   Slightly annoying.
 *  [drmike](https://wordpress.org/support/users/drmike/)
 * (@drmike)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530143)
 * > Slightly annoying
 * *chuckle* So’s TinyMCE.
 * I’m trying to think of a work around but thte only thing that comes to mind is
   setting p tags to pretty much do nothing within CSS but that would probably mess
   that up elsewhere within your theme.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530144)
 * Have a search for wpautop (or is it just autop?).
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530173)
 * Aye, I thought of the CSS thing too, but didn’t think it was such a wise idea.
 * Is this a general WordPress thing, or just various themes which use TinyMCE? 
   I haven’t explored into depth of other themes, so I don’t know if the editors
   are any different, or anything.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530175)
 * TinyMCE is the editor used, regardless of theme, if you’ve opted to use the “
   Visual Rich editor”.
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530177)
 * Ah-hah. Well, that sucks then. The old HTML window worked better >.<
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530238)
 * Hmm, I took a short route about it and just put a new class in my stylesheet 
   with a 20px margin, then made new paragraph tags with that class.
 * Seemed to solve it, but not how I would like.
 *  [bramz](https://wordpress.org/support/users/bramz/)
 * (@bramz)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530327)
 * The code editor tries to be too smart! GIVE BACK OUR RAW HTML CODE EDITOR.
 * It tries to close tags even when you ask not to. It removes whitespace even when
   you don’t want it to. It hides <p></p> tags even when it shouldn’t and invalidates
   XHTML when using <p> tags inside
    `<li>` (it “forgets” to close the paragraph
   EVEN WHEN YOU EXPLICITELY write the <p> and </p> tags!
 * WE WANT DUMB EDITORS!
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530396)
 * I agree with that guy ^
 * You have no idea how much effort I went to, to get [this post](http://www.darfuria.com/website/blog/?p=134)
   to work.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530403)
 * Users -> Your Profile.
 * Uncheck the option to use the Visual Rich Editor.
 *  [DianeV](https://wordpress.org/support/users/dianev/)
 * (@dianev)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530422)
 * I don’t know what’s happening with the formatting in this thread. I’ll try closing
   the blockquote …?
 * Did that work?
 *  Thread Starter [Darfuria](https://wordpress.org/support/users/darfuria/)
 * (@darfuria)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530456)
 * I don’t see anything wrong with the formatting o.o
 *  [sfcrotty](https://wordpress.org/support/users/sfcrotty/)
 * (@sfcrotty)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530642)
 * > Well, yeah, when you view the source you can obviously see the paragraph tags.
   > It’s just, you’d expect to see all of the HTML when you use the code editor–
   > Slightly annoying.
 * This is more than slightly annoying. It’s broken. When I click a “Code” tab, 
   I expect to see…wait for it…
 * CODE.
 * Ya know: all tags. call me wacky.
 *  [dansheffler](https://wordpress.org/support/users/dansheffler/)
 * (@dansheffler)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530650)
 * This seems to be my problem as well. And turning off the visual editor does not
   solve the problem at all. The problem is that the code window ought to actually
   display the CODE and not try to fix it for you.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Code isn’t actually code’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 15 replies
 * 7 participants
 * Last reply from: [dansheffler](https://wordpress.org/support/users/dansheffler/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/code-isnt-actually-code/#post-530650)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
