[wp-trac] [WordPress Trac] #22720: Insert Media produces inconsistent results (depending on captions)
WordPress Trac
noreply at wordpress.org
Tue Dec 4 22:51:49 UTC 2012
#22720: Insert Media produces inconsistent results (depending on captions)
--------------------------+------------------------------
Reporter: tar.gz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by tar.gz):
22720-3.patch works for me, takes care of issue (3).
The only little thing that could still be improved:
As noted in issue (1), the Visual editor puts line returns between images
that ''have'' captions, but not between non-captioned images - those are
left as a big block of code (we can see that when toggling between Visual
and Text mode).
Since we seem to agree on the \n\n between single images, it would be
logical if the Visual editor's insert operation would add them as well. I
assume that's a very easy thing to change.
Apart from being a more consistent behavior, I think it would be generally
useful: if the user wants to write text between the images, this will be
easier to do. If he just leaves the images as they are, the result will
generally look nicer as the pictures will have some vertical padding.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22720#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list