[wp-trac] [WordPress Trac] #16086: TinyMCE inserts blank lines after paragraph with image with caption
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 3 08:07:37 UTC 2011
#16086: TinyMCE inserts blank lines after paragraph with image with caption
--------------------------+-----------------------------
Reporter: gerobe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: tinymce, editor
--------------------------+-----------------------------
TinyMCE inserts blank lines with a nobreaking space entity after paragraph
with image with caption.
This happens, when the text starts right after the last [/caption]
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.
Second paragraph with some text.
}}}
after switching to visuell and back to HTML in the editor.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16086>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list