[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Mon Jun 26 12:43:22 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
-------------------------------------------------+-------------------------
Reporter: dwrippe | Owner:
Type: defect (bug) | westonruter
Priority: normal | Status: accepted
Component: Widgets | Milestone: 4.8.1
Severity: major | Version: 4.8
Keywords: needs-testing has-unit-tests has- | Resolution:
patch | Focuses:
-------------------------------------------------+-------------------------
Comment (by gitlost):
In the refresh patch "40951.3.diff" the legacy bail out got moved to after
the `TextWidgetControl` addition in `component.handleWidgetAdded()` so you
get a blank textarea showing...
@WPwebbouw
> If the text widget is being replaced by a new HTML widget
It's not being replaced but being made legacy compatible, with the
suggestion to use the new HTML widget.
@emmtre
> Sorry but this is not a viable solution.
Have you tried it? In my testing it works really well ("40951.2.diff" that
is!).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list