WordPress.org

Ready to get started?Download WordPress

Forums

Is there any hope for the Visual Editor? WYSIWY(DON'T)G :( (7 posts)

  1. mtonumaa
    Member
    Posted 4 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    - 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.

  3. vtxyzzy
    Member
    Posted 4 years ago #

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

  4. mtonumaa
    Member
    Posted 4 years ago #

    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.

  5. esmi
    Forum Moderator
    Posted 4 years ago #

    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.

  6. Brianair
    Member
    Posted 4 years ago #

    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!

  7. TourAbsurd
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic