Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube Embed automatically removes additional classes #47300

Closed
SleepyEvoli opened this issue Jan 19, 2023 · 1 comment
Closed

Youtube Embed automatically removes additional classes #47300

SleepyEvoli opened this issue Jan 19, 2023 · 1 comment
Labels
[Block] Embed Affects the Embed Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@SleepyEvoli
Copy link

SleepyEvoli commented Jan 19, 2023

Description

When you add an additional class, save and leave the editor everything works fine. But as soon as you open the page editor again with that Youtube embed, the additional class gets removed.

I use the standard Youtube embed.

Step-by-step reproduction instructions

  1. Start editing a page or a post
  2. Add Youtube embed
  3. Add additional class to that embed
  4. Save
  5. Open the editor again

Screenshots, screen recording, code snippet

No response

Environment info

Wordpress 6.1.1

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@SleepyEvoli SleepyEvoli changed the title Youtube Widget automatically removes additional classes Youtube Embed automatically removes additional classes Jan 19, 2023
@skorasaurus skorasaurus added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Block] Embed Affects the Embed Block labels Jan 19, 2023
@skorasaurus
Copy link
Member

Hi,

Thanks for reporting;
This has already been reported in #46627. Feel free to add your reaction and follow its progress in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Embed Affects the Embed Block [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants