[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Thu Jul 13 18:53:41 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 westonruter):
Replying to [comment:123 Ov3rfly]:
> '''Manually copying''' these "since ever existing" widgets to a new
"Custom HTML" widget '''is not an option''' for us.
> Many widgets also have complex "Widget Logic" settings, would be a
additional nightmare (=impossible) to copy these to the correct new
widgets.
You won't be forced to copy the content of the legacy Text widgets to
Custom HTML. Once a Text widget is in legacy mode it will remain in legacy
mode. However, when creating ''new'' widgets, you will use the Custom HTML
widget instead of the Text widget, as newly created widgets are not
initialized in legacy mode.
> Can the note be dismissed per user?
It is not currently dismissible notice. That's an option, but if the
notice is not there then users may be confused about why some Text widgets
have visual editing while others do not. The presence of the notice
clarifies why a given Text widget lacks the visual editor.
> Is there an action to notify wp admin if this message appears or a
filter to stop this message from appearing at all and keeping all text
widgets as before?
There is no filter to hide the message, but you could hide it with CSS.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:124>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list