[wp-trac] [WordPress Trac] #44308: TinyMCE: empty paragraphs are created from HTML comments on separate lines

WordPress Trac noreply at wordpress.org
Thu Jun 7 15:09:32 UTC 2018


#44308: TinyMCE: empty paragraphs are created from HTML comments on separate lines
-------------------------------------+---------------------
 Reporter:  azaozz                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.0
Component:  TinyMCE                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by danielbachhuber):

 I've confirmed `44308.patch` works as expected.

 I've also confirmed the post content is saved to the database as expected:

 {{{
 $ wp post get 1 --field=content
 <!-- wp:heading -->
 <h2>This is a heading block</h2>
 <!-- /wp:heading -->

 <!-- wp:paragraph -->
 <p>This is my paragraph text.</p>
 <!-- /wp:paragraph -->
 }}}

 Does it make sense to land this in 4.9.7 or 4.9.8?

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


More information about the wp-trac mailing list