WordPress/wp-includes/js/tinymce
Scott Taylor 615dd5331b Unifying media controls and supporting playlists in the editor:
* Support a `caption` attribute for audio and video shortcodes
* In `wp.media.audio|video`, rename `update` to `shortcode` to allow these models to share the same mixins as `wp.media.collection` subclasses
* When sending an audio or video shortcode to the editor, create a default caption if the user hasn't entered one. This currently only displays in the editor, not on the front end. Captions aren't tied to a specific attachment here because external sources are supported.
* In the `wp.mce.media` mixin, in the `edit` method, read `attr` instead of `data` when attempting to parse the encoded shortcode. `data` does not automatically update when the attribute changes. This was a blessing to debug.
* Add `wp.mce.media.PlaylistView` to support playlist views in TinyMCE
* Expose `WPPlaylistView` to global scope and suppress auto-parsing of playlist nodes when in the admin. Allow `WPPlaylistView` to be passed `metadata` on creation instead of requiring a JSON blob to be parsed.
* Remove all of the playlist logic from the `wpgallery` TinyMCE plugin.
* In `wp_prepare_attachment_for_js()` return more data for audio/video so that playlists can have parity in the admin/front end.

See #27320.


Built from https://develop.svn.wordpress.org/trunk@27640


git-svn-id: http://core.svn.wordpress.org/trunk@27483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 13:33:14 +00:00
..
langs Add core support for Playlists and Video Playlists. 2014-02-24 18:08:16 +00:00
plugins Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
skins Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
themes/modern TinyMCE: update to 4.0.18, see #24067 2014-03-04 01:57:15 +00:00
utils TinyMCE 4.0.12, first run. 2013-12-28 23:53:15 +00:00
license.txt Fix EOL for newly added files 2011-04-11 18:23:51 +00:00
tiny_mce_popup.js TinyMCE: update to 4.0.20, see #24067 2014-03-19 04:46:15 +00:00
tinymce.js TinyMCE: update to 4.0.20, see #24067 2014-03-19 04:46:15 +00:00
tinymce.min.js TinyMCE: update to 4.0.20, see #24067 2014-03-19 04:46:15 +00:00
wp-mce-help.php TinyMCE: style the modals to match WordPress admin (first-run). Fix couple of IE problems in tiny_mce_popup.js. Props avryl, see #26952, see #24067 2014-02-18 06:32:14 +00:00
wp-tinymce.js.gz Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
wp-tinymce.php Add a sane, inclusive HTML element/attribute schema to TinyMCE. 2012-12-07 11:26:25 +00:00