[wp-trac] [WordPress Trac] #21811: Add image editing UI to the media modal
WordPress Trac
noreply at wordpress.org
Wed Feb 5 18:42:47 UTC 2014
#21811: Add image editing UI to the media modal
-------------------------------------------------+-------------------------
Reporter: koopersmith | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future
Component: Media | Release
Severity: normal | Version: 3.5
Keywords: has-patch dev-feedback needs- | Resolution:
testing | Focuses:
-------------------------------------------------+-------------------------
Comment (by gcorne):
After yesterday's discussion, I spent some time throwing together an
initial implementation attachment:21811-modal-01.patch that incorporates
the image editor functionality into the media modal. Even though this
patch has some problems with it, I thought I would post it so that
@tomauger and others could see what I am thinking.
The patch does the following:
1. Adds a new EditImage State and View
2. Adds the state to the existing ImageDetails and MediaFrame.Post
workflows. (While writing this, I realized that I also should have added
it to MediaFrame.Select.)
The whole thing sort of works, but it suggests to me that we should
refactor the existing image editor code to make it more flexible. Figuring
out what approach to use to add the necessary flexibility is the next
step.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21811#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list