-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Include missing attributes when upgrading embed block #33235
Conversation
Size Change: +1.6 kB (0%) Total Size: 1.06 MB
ℹ️ View Unchanged
|
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:
align
caption
allowResponsive
How has this been tested?
Embed
button.Align left
.Show more settings
(if they're not already displayed).Resize for smaller devices
option.Embed
button.Align left
).Resize for smaller devices
option is preserved (the option should be unchecked).Screenshots
embed-block-missing-attributes-fix.mp4
Types of changes
Bug fix
Checklist:
*.native.js
files for terms that need renaming or removal).