-
Notifications
You must be signed in to change notification settings - Fork 4.5k
block.json schema: Make the apiVersion field required and only allow 3 #71107
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
Conversation
bef7209
to
967f93e
Compare
1cf4e74
to
626d34c
Compare
Flaky tests detected in 603028b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/16859849782
|
626d34c
to
275bbff
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
Thanks, @t-hamano!
This looks good for me. Let's keep track of all apiVersion
related changes, and we can combine them in a single dev note.
@Mamaduka Thanks for the review! |
Part of #70743
Why?
If the block is registered with API version 2 or lower, the post editor may work as a non-iframe editor. However, we aim to have all editors work as iframes in the future. To encourage more block developers to test their products in the iframe editor, let's only allow the value 3.
Testing Instructions
block.json
file:Screenshots or screencast