[wp-trac] [WordPress Trac] #27366: Clean up layout of "Image details" section in the media modal
WordPress Trac
noreply at wordpress.org
Wed Apr 2 01:53:58 UTC 2014
#27366: Clean up layout of "Image details" section in the media modal
----------------------------+--------------------
Reporter: eablokker | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.9
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
----------------------------+--------------------
Comment (by azaozz):
In [changeset:"27898"]:
{{{
#!CommitTicketReference repository="" revision="27898"
Edit Image modal:
- Move all advanced options under a single “Show advanced options” toggle
that mirrors the behavior and look-and-feel of the wplink modal.
- Switch to using <select> for the Size and Link To.
- Bring back the field for CSS Class for the image, but don’t incorporate
the internally managed WordPress classes (size-, wp-image-, etc…).
- On larger screen sizes, float labels to the left. When the width drops
below 900px, stack the label above the fields.
- Keep image at top on screen sizes where the two columns are stacked into
a single column.
- Don't replace the nodes in the editor DOM so we don't stomp on any
custom attributes that the user may have added via the Text editor or some
other mechanism.
Props gcorne, see #27366
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27366#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list