WordPress.org

Ready to get started?Download WordPress

Forums

3.1 RC2: Blank lines with   with TinyMCE (11 posts)

  1. gerobe
    Member
    Posted 3 years ago #

    After saving a post written with TinyMCE there are appearing blank lines with only a    in them. After every save-process a new line is entered.

    This error occurres after paragraphs that have an image with caption and a link to a bigger version of the picture.

  2. gerobe
    Member
    Posted 3 years ago #

    Just entered a ticket for this. Example:

    [caption id="attachment_6120" align="alignleft" width="220" caption="Caption under image"]<img class="size-medium wp-image-6120" title="title" src="http://www.domain.com/wp-content/images/image.jpg" alt="alt text" width="220" height="165" />[/caption]First paragraph with some text.
    
    Second paragraph with some text.

    becomes

    [caption id="attachment_6120" align="alignleft" width="220" caption="Caption under image"]<img class="size-medium wp-image-6120" title="title" src="http://www.domain.com/wp-content/images/image.jpg" alt="alt text" width="220" height="165" />[/caption]
    
    First paragraph with some text.
    
    &nbsp;
    
    Second paragraph with some text.

    after switching to visuell and back to HTML in the editor.

  3. Does that happen when you save in Visual and then just STAY in visual?

    There have always been problems bouncing back and forth between the GUI and the HTML editor. I wonder if the latest version of TinyMCE is to blame for even more weirdness...

    ticket: http://core.trac.wordpress.org/ticket/16086

  4. gerobe
    Member
    Posted 3 years ago #

    I normally do not use the html mode and stay in visual.

    I noticed this bug when reading the final post in my blog. the space between the paragraphs got bigger and bigger, because EVERY time the post is edited and saved with the visual editor a new nbsp-line is added.

    If you save the code 10 times using the visual editor you will habe 10 lines with a nbsp in them.

  5. Okay. I can't reproduce this. I got some mucked up line spacing, but no &nbsp stuff.

    Have you turned off ALL plugins?

  6. gerobe
    Member
    Posted 3 years ago #

    I just installed a clean WordPress-Installation 3.1 RC2 with no plugins and was able to reproduce this error (with Firefox and Safari for Windows as test-browsers).

    Make sure, that the paragraph 1 begins right after the [/caption] and is on the same line.

  7. Opened HTML editor. Copy/pasted what you had into my editor. Hit save draft. Went to visual. Clicked save (making no changes). Went back to HTML. Got this:

    [caption id="attachment_6120" align="alignleft" width="220" caption="Caption under image"]<img class="size-medium wp-image-6120" title="title" src="http://www.domain.com/wp-content/images/image.jpg" alt="alt text" width="220" height="165" />[/caption]
    
    First paragraph with some text.
    
    Second paragraph with some text.

    That's sort of what I expected, too.

  8. gerobe
    Member
    Posted 3 years ago #

    Yes, did the same with my clean install:

    New Article, switch to HTML, copy and paste the code above into the text area, switch back to visual an back again to HTML and it shows

    [caption id="attachment_6120" align="alignleft" width="220" caption="Caption under image"]<img class="size-medium wp-image-6120" title="title" src="http://www.domain.com/wp-content/images/image.jpg" alt="alt text" width="220" height="165" />[/caption]
    
    First paragraph with some text.
    
    &nbsp;
    
    Second paragraph with some text.

    And switching back again to visual shows a too big line-space between the paragraphs.

  9. What theme are you using?

  10. gerobe
    Member
    Posted 3 years ago #

    Default Twentyten

  11. Abcmoteur
    Member
    Posted 3 years ago #

    I have the same probleme. Any fix?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.