Wordpress/wp-includes/css
Daryl Koopersmith 68d143d20d Media: Improve sidebar handling and make attachment display properties attachment-specific.
`wp.mce.media`
* Watch all workflows for the `insert` event and attempt to insert the current state's `selection` if it exists.
* Fetch and pass attachment display properties through to `wp.media.string.image()`.

`wp.media.controller.Region`
* Separate the concept of events and modes.
* All events triggered on a `Region` trigger both `event` and `event:mode` callbacks.
* When a mode is deactivated, `deactivate` and `deactivate:mode` events are fired.
* When a mode is activated, `activate` and `activate:mode` events are fired.

`wp.media.controller.Library`
* Remove the `details()`, `buildDetails()`, and `clearDetails()` methods that juggled sidebar views. Instead, handle the sidebar views using modes.

`wp.media.controller.Gallery`
* Shift the overloaded `sidebar()` method to use modes.

`wp.media.view.MediaFrame.Post`
* Declare `activate:mode` event bindings using an nested object to reduce repetition.
* Update sidebar activation callbacks.

`wp.media.view.Settings`
* Refactor to leverage HTML data attributes and implicit values (instead of setting the fallback whenever an object was created). This has the additional benefit that gallery shortcode parameters are not output when the user has left them set to the default.

see #21390.


git-svn-id: https://develop.svn.wordpress.org/trunk@22466 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-08 14:15:09 +00:00
..
admin-bar-rtl.css More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
admin-bar-rtl.min.css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
admin-bar.css More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
admin-bar.min.css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
buttons.css Allow the .hidden class to hide a button. props helenyhou. fixes #22018. 2012-11-07 21:25:25 +00:00
buttons.min.css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
editor.css More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
editor.min.css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00
jquery-ui-dialog.css Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
jquery-ui-dialog.min.css Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
media-views.css Media: Improve sidebar handling and make attachment display properties attachment-specific. 2012-11-08 14:15:09 +00:00
media-views.min.css Compress scripts/styles: 3.5-beta2-22438. TinyMCE updated. 2012-11-07 20:29:58 +00:00
wp-pointer.css More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
wp-pointer.min.css Compress scripts/styles: 3.5-beta2-22455. 2012-11-07 22:58:33 +00:00