-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
core/image - Block Attribute missing width and height in <InnerBlocks /> #35982
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Comments
I also want to link to #23244 which this issue may be a duplicate of. |
This was referenced Jan 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature] Nested / Inner Blocks
Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
What problem does this address?
I create a new custom block that use
<InnerBlocks />
to create a repeater item.When I try to read metadata from attributes in
function Save() {}
, the core/image block seem missing width and height attribute if I don't edit any width/height parameter. It only visible in metadata if I change those params.No edit any width/height param
Editing height
My example code:
What is your proposed solution?
Add missing width and height from given image when using with
<InnerBlocks />
even if we don't edit width and/or height in block setting.The text was updated successfully, but these errors were encountered: