[wp-trac] [WordPress Trac] #21811: Add image editing UI to the media modal

WordPress Trac noreply at wordpress.org
Wed Feb 12 04:43:51 UTC 2014


#21811: Add image editing UI to the media modal
--------------------------------------------------+------------------
 Reporter:  koopersmith                           |       Owner:
     Type:  feature request                       |      Status:  new
 Priority:  normal                                |   Milestone:  3.9
Component:  Media                                 |     Version:  3.5
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-testing  |     Focuses:
--------------------------------------------------+------------------

Comment (by tomauger):

 Added [https://core.trac.wordpress.org/attachment/ticket/21811/trac-21811
 -image-edit-view-01.patch trac-21811-image-edit-view-01.patch] which
 attempts to do the minimum to integrate image-edit.js into the EditImage
 view by passing the view itself to imageEdit.open() so we can set the
 previous state on the controller upon imageEdit.close().

 What has me completely stumped is why setting the state to 'image-edit' in
 an ImageDetails View (ie: editing an embedded attachment in tinyMCE) works
 so well, but attempting to set the same state in the same way within an
 Attachment.Details view (for example, when choosing a Featured Image)
 fails silently.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21811#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list