[wp-trac] [WordPress Trac] #35243: Extending the text widget to also allow visual mode
WordPress Trac
noreply at wordpress.org
Tue Feb 28 20:11:13 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 azaozz):
> I'd suggest focusing on inline formatting (links, bold, italic, etc.)
initially and leaving out media
I was with the impression that we want a "universal" widget that will
support the same content as the post editor. I really like the mockup
which has the "Add Media" button suggesting you will be able to add
images, videos, embeds, galleries, etc.
[[Image(text-widget.png)]]
I don't see any disadvantages for having an "universal" widget. The
advantages are:
- The users will be familiar with how to use it from the start as the
workflow will be identical to editing a post.
- We will avoid adding 5-6 different widgets for different content and
with different controls, restrictions and workflows.
If we go with a cut-down, inline tags only widget the disadvantages will
be:
- It will be very inferior to what's available in plugins. Not really sure
why we would want to add that to core given the opportunity for something
much better.
- We will (eventually) have to add many different widgets for the
different content: video, audio, galleries, embeds, etc.
- 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.
Also, regardless of whether we add media support or not, adding HTML
support to the text widget makes the "Media Widget" #32417 completely
redundant. I mean, there will be two widgets that will the exactly the
same thing but have different UI (either the familiar Media Library or
copy/paste HTML). That's not going to be good UX.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35243#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list