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

WordPress Trac noreply at wordpress.org
Thu Jun 8 17:46:54 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:  Awaiting Review
Component:  Widgets       |     Version:  4.8
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dwrippe):

 @westonruter Yeah, I understand why. The bulk of WordPress users are not
 developers, and so updating the old Text widget to the new one makes sense
 for probably the larger population of WP users.

 I would honestly be happy with a change in 4.8.1 to not make the Visual
 editor the default in Text widgets. That way, I can wait on upgrading
 sites, and when the the new HTML Code Widget is available, I can more
 easily go in and copy/paste existing HTML out of Text widgets and into the
 new HTML Code widget. As it stands, with the Visual Editor being the
 default, I have no opportunity for recovering non-extraneous HTML code
 that currently exists in Text widgets.

 After developers have an opportunity to address the new functionality, the
 new Text widget could be set back to using the Visual editor as the
 default. But at least give us a chance to convert...

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


More information about the wp-trac mailing list