[wp-trac] [WordPress Trac] #45636: Html edit mode in Gutenberg editor removes wrapping <p> tags

WordPress Trac noreply at wordpress.org
Sat Jan 5 18:20:26 UTC 2019


#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
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch reporter-feedback close  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by zeshanb):

 Hi there,

 For individuals recently migrating from older versions and even other
 content management systems. Using Gutenberg classic block. Having the
 classic editor not honor standard html paragraph tags when using "Edit as
 HTML" option can be a serious annoyance.

 Here is a animated gif of the issue:
 [[Image(https://storage.googleapis.com/media.zdatatech.com/classic-block-
 strips-paragraph-tags.gif)]]

 Possible solution would be to have paragraph tags converted to classic
 blocks when Gutenberg loads post content for editing. Although this way of
 solving this may or may not cause editor experience issues.

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


More information about the wp-trac mailing list