[wp-trac] [WordPress Trac] #21809: Edit galleries in the media modal
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 19 00:34:02 UTC 2012
#21809: Edit galleries in the media modal
----------------------------+--------------------
Reporter: koopersmith | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------
Comment (by koopersmith):
In [21906]:
{{{
#!CommitTicketReference repository="" revision="21906"
The first inklings of a gallery management screen.
* Adds `view.Workspace.Library` and `view.Workspace.Gallery` as extensions
of `view.Workspace` to implement the individual screens
* Shifts the toolbar logic that was library-specific from the generic
`Workspace` view to `Workspace.Library`.
* Adds a toolbar to the `Gallery` view.
* 'Create a gallery' and 'Return to media library' buttons toggle between
the two views.
* 'Insert gallery into post' closes the modal, but does not actually
perform its namesake action.
* Note that elements can still be deselected in the gallery view. This
will be fixed in a future commit.
Improvements to avoid over-eager event unbinding:
* `Modal` views now properly detach their contents before replacing them
with a new element.
* Likewise, `Workspace` views detach their main content blocks when re-
rendering the view.
To test the gallery workflow (which is incomplete), run the following in
your browser's console:
`wp.media({ multiple: true });`
see #21809, #21390.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21809#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list