[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Thu Jun 22 09:10:45 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+--------------------------
Reporter: dwrippe | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.8.1
Component: Widgets | Version: 4.8
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------------
Comment (by philclothier):
Replying to [comment:68 westonruter]:
> It's not a face saver solution. I honestly think it's the best solution
and a legacy mode should have been done this way from the start. It has in
mind both the best interests of the majority of users who are novices with
basic HTML (or zero HTML with just plain text), and also the interests of
advanced users with custom HTML. The Text widget should have had TinyMCE
when it was first introduced in WordPress 2.2.
With respect, this is the most "face saving" solution I've seen in a long
time. Whilst I appreciate that this issue will be resolved in 4.8.1, I'm
concerned that you still think that this was a good idea from the start. I
can't think of any reason why this would be chosen over creating a new,
separate TinyMCE widget. Then you get the best of both worlds rather than
a fudged mix of the two. People who have used plain text in the old widget
can happily upgrade to the new TinyMCE widget if they want to, and think
"ooh shiny new widgets. This is great!". People who have used HTML can
relax and leave it as is, without having to worry that the next update
will break anything. Is there something else I'm missing here?
For example, if the approach is to add new functionality to current
widgets, why bother creating the new Image, Audio and Video widgets? Those
features could have been added to the new Text widget as buttons.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list