[wp-trac] [WordPress Trac] #21811: Add image editing UI to the media modal
WordPress Trac
noreply at wordpress.org
Wed Jan 22 22:17:03 UTC 2014
#21811: Add image editing UI to the media modal
-----------------------------+-----------------------------
Reporter: koopersmith | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: |
-----------------------------+-----------------------------
Comment (by tomauger):
The proof-of-concept plugin above does the following:
1. Hooks into the proposed `add_image_editor_groups` hook, which is
designed to function much like `add_meta_boxes` in `edit-form-
advanced.php`.
2. Removes the thumbnail-settings Image Editor Group and replaces it with
a new editor-target group using the proposed `add_image_edit_group()`,
whose signature is modeled on `add_meta_box()`.
3. The .js file leverages the proposed eventing system and registers event
listeners for the new `imageOpen` and `editorInit` events so that we can
run some jQuery on the UI controls within the Image Editor Group that we
created.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21811#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list