[wp-trac] [WordPress Trac] #40854: Allow media to be embedded in Text widget

WordPress Trac noreply at wordpress.org
Thu Sep 7 00:00:17 UTC 2017


#40854: Allow media to be embedded in Text widget
-------------------------+-----------------------
 Reporter:  alexvorn2    |       Owner:  azaozz
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.9
Component:  Widgets      |     Version:  4.8
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+-----------------------
Changes (by westonruter):

 * owner:   => azaozz
 * status:  new => assigned


Comment:

 @azaozz I started looking into this. I was happy with how easy it was to
 get the button to work initially. See [attachment:40854.0.diff].
 Nevertheless, you're much more familiar with it than I am, so any help
 would be appreciated as there are some issues that need additional work:

 * As seen in [attachment:text-widget-with-media.png], the video and audio
 shortcodes aren't getting converted into TinyMCE views. Similarly,
 inserting a gallery just shows a placeholder without any preview.
 * Insert media window should show “Insert into widget” instead of “Insert
 into post”.
 * Media button should be shown even if rich text editing is disabled.

 Supporting oEmbed is dependent on #34115.

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


More information about the wp-trac mailing list