[wp-trac] [WordPress Trac] #52764: Classic editor adding empty <p></p> tags in some media embed situations

WordPress Trac noreply at wordpress.org
Thu Mar 11 20:46:28 UTC 2021


#52764: Classic editor adding empty <p></p> tags in some media embed situations
-----------------------------+---------------------
 Reporter:  jonathanstegall  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.7.1
Component:  Editor           |     Version:  5.7
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+---------------------

Comment (by Otto42):

 Note that a workaround can be used for now, if it's a severe problem on
 your site. This code in your Additional CSS will essentially undo this
 style on a site.

 {{{
 body p:empty:before {
   content: none;
 }
 }}}

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


More information about the wp-trac mailing list