Add the ability to click "Edit" and kick out to the advanced image editor from within the Media modal. New window, with "Refresh" offered on your return. fixes #22743. props koopersmith, nacin, helenyhou.

git-svn-id: https://develop.svn.wordpress.org/trunk@23095 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2012-12-06 05:52:19 +00:00
parent 93442c1773
commit e0f5f47c57
6 changed files with 73 additions and 42 deletions
+21 -7
View File
@@ -1308,6 +1308,7 @@
float: left;
max-width: 120px;
max-height: 120px;
margin-top: 5px;
margin-right: 10px;
margin-bottom: 5px;
}
@@ -1347,17 +1348,30 @@
max-width: 100%;
}
.attachment-info .delete-attachment a {
color: red;
padding: 2px 4px;
margin: -2px -4px;
.attachment-info .edit-attachment,
.attachment-info .refresh-attachment,
.attachment-info .delete-attachment {
display: block;
text-decoration: none;
white-space: nowrap;
}
.attachment-info .delete-attachment a:hover {
color: #fff;
background: red;
.attachment-info .refresh-attachment,
.attachment-details.needs-refresh .attachment-info .edit-attachment {
display: none;
}
.attachment-details.needs-refresh .attachment-info .refresh-attachment,
.attachment-info .edit-attachment {
display: block;
}
.attachment-info .delete-attachment {
color: #bc0b0b;
}
.attachment-info .delete-attachment:hover {
color: red;
}
/**