Forums

Visual editor modifies posts incorrectly (3 posts)

  1. DavidPotter
    Member
    Posted 1 year ago #

    The problem of WordPress modifying posts incorrectly is bigger than I originally thought. I originally posted a problem of how to add blank lines in a table cell here: http://wordpress.org/support/topic/212565

    The problem is that WordPress interprets a blank line as an instruction to add p tags. This is a problem because this logic isn't context-sensitive. I've discovered another place where it does this incorrectly - from within a code tag.

    Question: How do you add blank lines within tags that don't allow p tags when using the visual editor?

    Answer: You can't!

    The only way I've found to do it is by editing in HTML mode. What a pain!

    There was a discussion some months ago where someone was making the claim that it is a bug for WordPress to replace two line breaks (aka a blank line) with p tags. In general I like this functionality. However, the implementation is busted. If it can't be done in a context-sensitive manner, then it really shouldn't be done at all. At this point, if I could turn it off, I would. Looks like I'm going back to just using the HTML editor.

  2. DavidPotter
    Member
    Posted 1 year ago #

    One other thing that the visual editor does that I dislike is it removes the non-breaking space after a period. I am very partial to using at least two spaces after a period as I believe that makes it easier for readers to read what is written. For some reason the visual editor has decided that the second space is unnecessary. Can someone please tell me why it does this and how to get it to stop?

    Thanks,
    David

  3. nellieeve
    Member
    Posted 7 months ago #

    Any word on this issue?

    Thanks,
    Nellie

Topic Closed

This topic has been closed to new replies.

About this Topic