Support » Fixing WordPress » Is there any hope for the Visual Editor? WYSIWY(DON’T)G :(

  • I’ve been looking for a solution 2 hrs tonight.
    I’m thinking of giving up designing & coding WordPress themes for good.

    For 2 reasons mainly:
    – My client doesn’t understand html. Nor should he.
    – The Visual Editor in WordPress is a mess!

    I cannot resolve these issues:
    – i add a linebreak, wordpress removes linebreak
    – i add a paragraph, wordpress removes paragraph
    – unless my client is understands html (or is a hacker), he will never be satisfied with an editor that has a mind of it’s own.
    – i install plugins Text-control, No-wpautop-pages, Disable-wpautop or TinyMCE, wordpress still removes my linebreak or paragraph.

    Does anybody have a solution which NOT INVOLVE DISABLING VISUAL EDITOR?

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    Forum Moderator

    – i add a linebreak, wordpress removes linebreak
    – i add a paragraph, wordpress removes paragraph

    Site url?

    I’ve never yet seen a site where this was supposed to happen where it didn’t end up being either:
    – a plugin
    – use of the_excerpt() instead of the_content()
    – or a CSS p tag reset issue.

    Might want to take a look at http://wordpress.org/extend/plugins/fckeditor-for-wordpress-plugin/. It seems much better to me.

    Thanks for your replies!

    @esmi
    – Link: http://tinyurl.com/y8o4qal
    – What does the css p tag reset do?

    @vtxyzzy
    This looks very promising. Will test it later today.

    esmi

    (@esmi)

    Forum Moderator

    p {margin:0;padding:0}

    removes the normal default margins and padding on paragraphs in the web browser. In most cases, it drives site owners up the wall because they want clear blank lines between paragraphs. In your case, adding it to your stylesheet would stop the auto-p tags from messing up the display.

    Brianair

    (@brianair)

    The WordPress wpautop filter changes BR and P tags as if the simple carriage return is banished to history. All through the night, I installed and uninstalled editors and plugins, and inserted code snippets.

    To force a line break, use the HTML editor and place this code at the end of the line. Probably unwittingly, wpautop ignores it:

    <br clear="none" />

    That’s pretty easy relief!

    Thank you, Brianair. I can stop the gnashing of the teeth and the pulling of the hair now! 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is there any hope for the Visual Editor? WYSIWY(DON’T)G :(’ is closed to new replies.