[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:23:55 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 SergeyBiryukov):
Just noting that the issue is not limited to media embeds, and can happen
with any `<p></p>` tags that were not previously visible on the page, but
are visible now.
As noted above in comment:6, this is due to the change to block library
paragraph styles in [https://github.com/WordPress/gutenberg/pull/27995 PR
27995], so the fix would likely need to be made upstream and backported to
core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52764#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list