[wp-trac] [WordPress Trac] #32417: Add new core media widget
WordPress Trac
noreply at wordpress.org
Fri Apr 15 13:51:04 UTC 2016
#32417: Add new core media widget
----------------------------------------+---------------------------------
Reporter: melchoyce | Owner: wonderboymusic
Type: feature request | Status: assigned
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 4.3
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch | Focuses: ui, administration
----------------------------------------+---------------------------------
Comment (by Fab1en):
I agree that it would be more convenient for users to have a media button
in the text widget.
However, a question immediately comes up : once the media (or gallery, or
...) is selected, how to show it in the widget admin area ? Current text
widget is a single textarea without any rich edition capability, so the
media will either look like a bunch of HTML, or like a raw shortcode.
To have the media preview in the frontend, we need to bring-in the full
TinyMCE editor. And if we do this, text widget will become "rich text
widget". Also, widget content is not filtered to display shortcodes, so
modifying this behavior would introduce back-compat issues.
And we haven't say a word about Customizer integration ...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32417#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list