• 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)
  • The paragraph tags are probably thrown in there by the editor. Wouldn’t surprise me actually. I don’t use TinyMCE.

    Thread Starter Darfuria

    (@darfuria)

    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.

    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.

    Have a search for wpautop (or is it just autop?).

    Thread Starter Darfuria

    (@darfuria)

    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.

    TinyMCE is the editor used, regardless of theme, if you’ve opted to use the “Visual Rich editor”.

    Thread Starter Darfuria

    (@darfuria)

    Ah-hah. Well, that sucks then. The old HTML window worked better >.<

    Thread Starter Darfuria

    (@darfuria)

    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.

    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

    (@darfuria)

    I agree with that guy ^

    You have no idea how much effort I went to, to get this post to work.

    Users -> Your Profile.

    Uncheck the option to use the Visual Rich Editor.

    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

    (@darfuria)

    I don’t see anything wrong with the formatting o.o

    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.

    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.