[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Wed Jun 14 19:08:36 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+-----------------------
Reporter: dwrippe | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.8.1
Component: Widgets | Version: 4.8
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by And_or):
Replying to [comment:48 gitlost]:
> Thanks @And_or and @lukefiretoss - good to hear!
>
> There's a 1.0.1 version available [https://github.com/gitlost/ye-olde-
text-widget/blob/master/dist/ye-olde-text-widget-1.0.1.zip?raw=true zip]
which makes sure that if after widget update the "Automatically add
paragraphs" option is set then `wpautop` is applied, so it's more fully BC
(cogged off @fullworks' plugin - thanks!).
>
> @FolioVision - thanks - though re breaking sites it should I think be
re-stated that (as mentioned above by various people) it's only a breaking
change if the widget instance is actually updated in the admin.
I am more with @FolioVision on this. Only breaking when updated is a
misleading behavior, when the widget contains 'empty' html elements, the
initial opening of the new Text Widget will not show anything, so the
reaction is "What the heck" and you click the text-tab... and then still
you see nothing. Until you click 'update' then you see the html content,
which next time you look will in several cases be gone.
The Text Widget is to me 'The mother of all Widgets' - and you know what
they call guys who mess with their mothers...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list