You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a block with a manually set block gap value. However, when using the useBlockSpacing hook to retrieve the block gap, it always returns the value defined in theme.json, ignoring the value explicitly set in the block's attributes.
Steps to Reproduce
Add a block which supports the blockGap property.
Set a specific block gap value
Check the returned values from useBlockSpacing hook, where the blockGap value does not match.
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a block with a manually set block gap value. However, when using the
useBlockSpacing
hook to retrieve the block gap, it always returns the value defined intheme.json
, ignoring the value explicitly set in the block's attributes.Steps to Reproduce
blockGap
property.useBlockSpacing
hook, where theblockGap
value does not match.Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: