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

WordPress Trac noreply at wordpress.org
Fri Mar 12 00:19:29 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 wordpresssalad):

 Replying to [comment:12 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;
 > }
 > }}}

 Thanks - that works for me (on my site is was the existing archives that
 were affected)

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


More information about the wp-trac mailing list