Improve styling and markup for gallery and attachment MCE views.

Attachment views can now inherit from the theme's `editor-style.css` — just have any rules that apply to the `img` tag apply to `.editor-attachment` as well.

Adds a non-functional edit button to gallery views.

see #21390, #21813, #21815.


git-svn-id: http://core.svn.wordpress.org/trunk@22154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-10-10 06:47:22 +00:00
parent c93b087d29
commit 78359d7c29
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ td {
/* =Images
-------------------------------------------------------------- */
img {
img,
.editor-attachment {
border: 0;
border-radius: 3px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);