[wp-trac] [WordPress Trac] #35243: Extending the text widget to also allow visual mode

WordPress Trac noreply at wordpress.org
Thu Mar 16 15:33:16 UTC 2017


#35243: Extending the text widget to also allow visual mode
-------------------------+--------------------------------
 Reporter:  paaljoachim  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, accessibility
-------------------------+--------------------------------

Comment (by joyously):

 > As it would support HTML, some users will eventually learn to paste the
 media types we excluded. For example it will be very easy to compose the
 content in the post editor then copy and paste the HTML. Forcing the users
 to do that by not providing sufficient UI would be a failure imho.

 This is already standard practice, and advice seen in many support forums.
 I think large amounts of content belong in posts/pages and users should be
 guided to "do the right thing" by ease of use. Widgets can move around on
 theme switch or by the user moving them, but also by viewing the page on
 different sized windows. As @celloexpressions says
 > My understanding of widgets is that they're intended to be distinct
 blocks of (often dynamic) content.

 Keeping the editor simple encourages the user to keep the widget content
 simple.
 And I don't understand why it's so difficult to add a call to filter the
 widget with `do_shortcode` in core since shortcodes are a core thing. I'm
 not saying the output of a shortcode should be visible in your new Visual
 mode, just that shortcodes should work in text widgets because they work
 in content.

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


More information about the wp-trac mailing list