[wp-trac] [WordPress Trac] #45636: Html edit mode in Gutenberg editor removes wrapping <p> tags (was: Html edit mode in Gutenberg editor doesn't work as expected)

WordPress Trac noreply at wordpress.org
Thu Dec 20 07:47:54 UTC 2018


#45636: Html edit mode in Gutenberg editor removes wrapping <p> tags
-------------------------------------------------+-------------------------
 Reporter:  skarabeq                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Editor                               |     Version:  5.0.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch reporter-feedback close  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by dd32):

 * keywords:  needs-patch reporter-feedback => needs-patch reporter-feedback
     close
 * severity:  major => normal


Comment:

 Sounds like this is working as anticipated, The `<p>` tags don't need to
 be there, as WordPress handles that for you. If you're used to using the
 "Text" editor (which is not a HTML editor, but "seems" like it is) you may
 find that the Classic Editor plugin will be useful for you use-cases.

 The current behaviour would've been reproducible on 4.9 by switching from
 Text mode to Visual and back again, as a result this doesn't feel like a
 regression as such, and can probably be closed.

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


More information about the wp-trac mailing list