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

Mark category as optional in block.json schema #1911

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Mark category as optional in block.json schema #1911

merged 1 commit into from
Nov 2, 2021

Conversation

gziolo
Copy link
Contributor

@gziolo gziolo commented Nov 2, 2021

We had the wrong information about the category field in the Block Editor Handbook for WordPress. It's been updated to reflect that this field is optional. We should also align the schema:

https://github.com/WordPress/gutenberg/blob/trunk/docs/reference-guides/block-api/block-metadata.md#category

Copy link
Contributor

@ryanwelcher ryanwelcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @madskristensen this is ready to be merged.

@madskristensen madskristensen merged commit 15a807d into SchemaStore:master Nov 2, 2021
@gziolo gziolo deleted the patch-1 branch November 2, 2021 17:55
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.

4 participants