Skip to content

Mark category as optional in block.json schema#1911

Merged
madskristensen merged 1 commit intoSchemaStore:masterfrom
gziolo:patch-1
Nov 2, 2021
Merged

Mark category as optional in block.json schema#1911
madskristensen merged 1 commit intoSchemaStore:masterfrom
gziolo:patch-1

Conversation

@gziolo
Copy link
Copy Markdown
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
Copy Markdown
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