WordPress/wp-admin/js
Daryl Koopersmith 1deab58658 Use the new media modal to insert galleries into TinyMCE and the text editor.
'''Galleries'''

* Gallery insertion from the new media modal (into TinyMCE, the text editor, etc).
* Gallery previews in TinyMCE now use the `wp.mce.views` API.
* Disables the TinyMCE `wpgallery` plugin.
* Gallery previews consist of the first image of the gallery and the appearance of a stack. This will later be fleshed out to include more images/functionality (including editing the gallery, gallery properties, and showing the number of images in the gallery).
* Multiple galleries can be added to a single post.
* The gallery MCE view provides a bridge between the `wp.shortcode` and `Attachments` representation of a gallery, which allows the existing collection to persist when a gallery is initially created (preventing a request to the server for the query).


'''Shortcodes'''

* Renames `wp.shortcode.Match` to `wp.shortcode` to better expose the shortcode constructor.
* The `wp.shortcode` constructor now accepts an object of options instead of a `wp.shortcode.regexp()` match.
* A `wp.shortcode` instance can be created from a `wp.shortcode.regexp()` match by calling `wp.shortcode.fromMatch( match )`.
* Adds `wp.shortcode.string()`, which takes a set of shortcode parameters and converts them into a string.* Renames `wp.shortcode.prototype.text()` to `wp.shortcode.prototype.string()`.
* Adds an additional capture group to `wp.shortcode.regexp()` that records whether or not the shortcode has a closing tag. This allows us to improve the accuracy of the syntax used when transforming a shortcode object back into a string.

'''Media Models'''

* Prevents media `Query` models from observing the central `Attachments.all` object when query args without corresponding filters are set (otherwise, queries quickly amass false positives).
* Adds `post__in`, `post__not_in`, and `post_parent` as acceptable JS attachment `Query` args.
* `Attachments.more()` always returns a `$.promise` object.

see #21390, #21809, #21812, #21815, #21817.


git-svn-id: http://core.svn.wordpress.org/trunk@22120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 04:23:59 +00:00
..
cat.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
cat.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
categories.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
categories.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
color-picker.js New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
color-picker.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
comment.js Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499. 2012-09-03 15:39:06 +00:00
comment.min.js Compress scripts/styles: 3.5-alpha-21698. 2012-09-03 15:59:27 +00:00
common.js Don't try to show the submenu when it's visible (Chrome), part props ericlewis, fixes #21832 2012-09-07 22:34:43 +00:00
common.min.js Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated. 2012-09-17 00:59:40 +00:00
custom-background.js New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
custom-background.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
custom-fields.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
custom-fields.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-controls.js New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
customize-controls.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
dashboard.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
dashboard.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
edit-comments.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
edit-comments.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
editor.js Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718 2012-09-26 03:30:21 +00:00
editor.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
farbtastic.js Farbtastic 1.3u. Props flashingcursor. fixes #14707 2010-11-11 16:34:22 +00:00
gallery.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
gallery.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
image-edit.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
image-edit.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
inline-edit-post.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
inline-edit-post.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
inline-edit-tax.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
inline-edit-tax.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
iris.min.js Update underlying color picker library. props mattwiebe. see #21206. 2012-09-27 02:18:55 +00:00
link.js Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk 2012-08-31 18:20:28 +00:00
link.min.js Compress scripts/styles: 3.5-alpha-21690. 2012-08-31 18:59:24 +00:00
media-gallery.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
media-gallery.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
media-upload.js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
media-upload.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
media.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
media.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
nav-menu.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
nav-menu.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
password-strength-meter.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
password-strength-meter.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
plugin-install.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
plugin-install.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
post.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
post.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
postbox.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
postbox.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
revisions-js.php Link to unobfuscated JS. Props filosofo. fixes #15262 2010-12-08 22:37:19 +00:00
set-post-thumbnail.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
set-post-thumbnail.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
tags.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
tags.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
theme-preview.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
theme-preview.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
theme.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
theme.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
user-profile.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
user-profile.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
user-suggest.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
user-suggest.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
utils.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
utils.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
widgets.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
widgets.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
word-count.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
word-count.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-fullscreen.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
wp-fullscreen.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
xfn.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
xfn.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00