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

WordPress Trac noreply at wordpress.org
Wed Jul 5 20:45:45 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):

 Once the patch is committed, we're planning to create a 4.8.1-alpha
 release build that includes this legacy Text widget mode as well as the
 Custom HTML widget. Having a full release build will make it easier for
 testers to test. Along with that release build, testers need steps to
 follow to confirm it is working properly.

 My quick take on testing steps would be to:
 1. Open a Text widget that contains custom HTML in WP admin and/or
 Customizer.
 2. Confirm that legacy mode is entered by the presence of the blue notice
 under the title, and that it is a simple `textarea`.
 3. Confirm that changes to the custom HTML in the widget get saved.
 4. Open Text widgets that are simple, without custom HTML, and that they
 get opened with TinyMCE enabled for visual editing.
 5. Try adding a new Custom HTML widget and add custom HTML there that
 users would formerly try adding to the Text widget. Confirm that the
 entered HTML appears as expected on the site, including Customizer
 preview.

 What else should be included in the user testing steps?

 We'll be looking to everyone watching this ticket in particular to assist
 with testing. 🙇

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


More information about the wp-trac mailing list