We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example code for default attributes for spacing is not correct i think.
attributes: { style: { margin: 'value', padding: { top: 'value', } } }
This does not work for me, but it worked, if i add spacingto the object:
spacing
attributes: { style: { spacing: { margin: 'value', padding: { top: 'value', } } } }
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#spacing
Spacing
change documentation example to:
The text was updated successfully, but these errors were encountered:
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.
Sorry, something went wrong.
No branches or pull requests
Issue Description
The example code for default attributes for spacing is not correct i think.
This does not work for me, but it worked, if i add
spacing
to the object:URL of the Page with the Issue
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#spacing
Section of Page with the issue
Spacing
Suggested Fix
change documentation example to:
The text was updated successfully, but these errors were encountered: