Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
This PR is not for the
trunk
branch. It is for fixing a block.json schema issue in the WP 6.5 branch.What?
This PR is to fix missing fields, inconsistencies, etc. in block.json schema in WP6.5.
How?
I looked at the diff between the two branches,
wp/6.5
andWP/6.6
(see this comment) and added missing fields and fixed existing fields.The fields that were changed, why they were changed, and the associated PR are below.
supports.color.heading
,supports.color.button
: Fix description grammarsupports.background
: Add missing fieldssupports.layout.allowCustomContentAndWideSize
: Add missing fieldslayout.allowCustomContentAndWideSize
field #59736supports.shadow
: Adding default value and descriptionshadow
definition #58910supports.interactivity
: The location is incorrectblock supports
forclientNavigation
andinteractive
properties onblock.json
schema. #58132viewScriptModule
: Add missing fieldsviewScriptModule
field #59060Testing Instructions
Create a JSON file like the one below:
The code editor should now correctly display the changes made in this PR.
Screenshots or screencast