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

WordPress Trac noreply at wordpress.org
Fri Jul 14 17:08:24 UTC 2017


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41050"]:
 {{{
 #!CommitTicketReference repository="" revision="41050"
 Widgets: Add legacy mode for Text widget and add usage pointers to default
 visual mode.

 The Text widget in legacy mode omits TinyMCE and retains old behavior for
 matching pre-existing Text widgets. Usage pointers added to default visual
 mode appear when attempting to paste HTML code into the Visual tab and
 when clicking on the Text tab, informing users of the new Custom HTML
 widget.

 Props westonruter, melchoyce, gitlost for testing, obenland for testing,
 dougal for testing, afercia for testing.
 See #35243.
 Fixes #40951.
 }}}

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


More information about the wp-trac mailing list