[wp-trac] [WordPress Trac] #57461: Core Embed and Video Block Style Class Removed in Editor
WordPress Trac
noreply at wordpress.org
Sat Jan 14 00:54:25 UTC 2023
#57461: Core Embed and Video Block Style Class Removed in Editor
--------------------------+------------------------------
Reporter: ekyle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 6.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by ekyle):
The issue can be replicated using a vanilla install of WordPress 6.1.1
with the Twenty Twenty-Two theme active, though it will likely happen with
any other built-in theme as well. Add a child theme or a simple plugin to
register a block style for the core/embed block. Create a page, embed
something using the core embed block, and apply the registered block
style. Save and preview, you should see the class associated with the
block style in the HTML source. Now edit that same page and the class
associated with the block style will be removed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57461#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list