Skip to content
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

✨ Add native support for block spacing #311

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

Log1x
Copy link
Owner

@Log1x Log1x commented Jan 18, 2025

This adds proper support for block spacing and improves block attribute consistency when uncached vs cached.

acf_register_block_type doesn't support custom attributes for blocks registered using PHP so ACF Composer now has it's own registerBlockType method to allow for configuring defaults on things like spacing when not cached as block.json.

Ref: #302 #310

@Log1x Log1x merged commit 29a1c2a into master Jan 18, 2025
2 checks passed
@Log1x Log1x deleted the enhance/spacing-support branch January 18, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant