mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
ba84f57083
* Move TinyMCE shortcode handling from `wpgallery` plugin to `mce-view.js` * Force `preload="none"` when rendering media in the editor to ensure fast loading (I realize this sounds illogical) * Move audio and video tag builder logic in `media-template.php` into PHP funcs that can be reused by any code passing `data.model` to an Underscore template * Pause all players when moving between editor tabs and when moving from the editor to editing in the media modal. * Rename `wp.media.audio|video.shortcode()` to the more appropriate `wp.media.audio|video.update()` that now returns a `wp.shortcode` object instead of a string. * Add necessary MediaElement css files to `$mce_css` * In `wp.mce.View.render()`, support multiple instances of the same shortcode * When rendering `wp.mce.View`s, fire a ready event that passes the current MCE View root element as context See #27389. Built from https://develop.svn.wordpress.org/trunk@27528 git-svn-id: http://core.svn.wordpress.org/trunk@27371 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
lightgray | ||
wordpress |