[wp-trac] [WordPress Trac] #31139: Allow editing of video embed parameters in the media modal

WordPress Trac noreply at wordpress.org
Thu Mar 5 05:59:12 UTC 2015


#31139: Allow editing of video embed parameters in the media modal
-----------------------------------+------------------
 Reporter:  melchoyce              |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  4.2
Component:  Media                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch ui-feedback  |     Focuses:  ui
-----------------------------------+------------------

Comment (by wonderboymusic):

 In [changeset:"31620"]:
 {{{
 #!CommitTicketReference repository="" revision="31620"
 Allow inline editing of `width` and `height` parameters while previewing
 an embed in the media modal:

 * Use `wp.shortcode()` instead of manually constructing a shortcode in
 `views/embed/link`
 * Allow a URL to transition to a shortcode (and vice versa) when returning
 an embed to TinyMCE
 * In `WP_Embed`, store the last URL and last set of attributes requested
 in class properties
 * `wp_ajax_parse_embed()`, allow `[embed]`s to have attributes. Return
 `attr` in the response.

 This is a first pass to allow broad testing with recent MCE view changes.

 See #31139.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31139#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list