[wp-trac] [WordPress Trac] #22720: Insert Media produces inconsistent results (depending on captions)
WordPress Trac
noreply at wordpress.org
Tue Dec 4 19:53:39 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):
With 22720.diff, it's one step in the good direction for resolving issue
(1) : when working in Text mode, we get now ''a single line return'' after
each item.
But what would be actually required is a ''double line return'' between
each item. That's what we get when we perform the same operation -
inserting several single images - in the Visual editor, and switch
afterwards to the Text editor.
Actually, we even get that when switching from Text -> Visual -> Text: the
line returns are changed into double line returns.
With a single line return, there are two problems:
- Visually, it's a bit more readable, but still a wall of code, not very
intuitive for a user to know where to insert body copy between the images.
- If the user doesn't add line returns manually, on the frontend, all the
images will be nested inside a <p> tag. If we have captions, that will
result in a <p> container with <div.wp-caption> items inside. Not very
pretty markup :)
For issues (2) and (3), I guess they aren't affected by this patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22720#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list