[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 01:45: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:  4.8.1
Component:  Widgets       |     Version:  4.8
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by carasmo):

 So, scanning through I wonder why it was wrong to use the text widget
 which indicates "arbitrary html" in its description. Many, many (nearly
 all) Genesis child themes don't come with a builder, so most of the time
 the home.php or the front-page.php is a widgetized page with areas in the
 content area for arbitrary html or some loop widget. It would be overkill
 to use anything else for arbitrary html but you want html with comments
 and returns so that users can read it easily and change a value or some
 text between the tags and use it.

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


More information about the wp-trac mailing list