[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code

WordPress Trac noreply at wordpress.org
Mon Jul 17 18:01:59 UTC 2017


#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
-------------------------------------------------+-------------------------
 Reporter:  dwrippe                              |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  reopened
Component:  Widgets                              |   Milestone:  4.8.1
 Severity:  major                                |     Version:  4.8
 Keywords:  needs-testing has-unit-tests has-    |  Resolution:
  patch commit fixed-major                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by FolioVision):

 To point out the obvious, what's the issue with just turning "legacy" text
 widgets into what you now call HTML Widgets? The logic of trying to force
 people to use `wpautop` and TinyMCE on widgets which just weren't mean for
 TinyMCE and all of its troublesome filters seems completely bizarre to me.

 Anyone who wants to move HTML widgets over to Text widgets can do so at
 his/her leisure. Nothing breaks. The logic of the widgets remains a lot
 simpler.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list