-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Include missing attributes when upgrading embed block #33235
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
Conversation
|
Size Change: +1.6 kB (0%) Total Size: 1.06 MB
ℹ️ View Unchanged
|
Mamaduka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and attributes are preserved when changing the embed source.
LGTM 🚢
Thanks for the review @Mamaduka! I'll update the |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for working on this! 👍
* Include missing attributes in upgraded embed block * Update block-library changelog * Use rest of attributes when upgrading embed block
Description
Include the following attributes that were missing when an embed block is upgraded due to finding a more suitable block:
aligncaptionallowResponsiveHow has this been tested?
Embedbutton.Align left.Show more settings(if they're not already displayed).Resize for smaller devicesoption.Embedbutton.Align left).Resize for smaller devicesoption is preserved (the option should be unchecked).Screenshots
embed-block-missing-attributes-fix.mp4
Types of changes
Bug fix
Checklist:
*.native.jsfiles for terms that need renaming or removal).