[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Fri Jun 9 18:23:20 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+--------------------
Reporter: dwrippe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8.1
Component: Widgets | Version: 4.8
Severity: minor | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by westonruter):
From duplicate #40980:
> Unlike editing pages, the new widget visual editor on 4.8 will break
HTML formatting on new and existing text widgets when switching back and
forth (even without saving).
>
> Also of note (though this is probably a wpautop thing): on our
installation, this also started adding <br> and <p> tags around comments
and empty spaces where there were none before (we disable wpautop
globally); we haven't had time to investigate so I can't be sure this
visual editor is the cause, but it was worth noting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list