From b55cede14c3a6f0ed797d73e676c9fc504fd58d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Tue, 2 Nov 2021 12:03:20 +0100 Subject: [PATCH] Docs: Fix the block metadata details for the category field As discussed in https://github.com/WordPress/gutenberg/pull/35998#discussion_r737454651 the category field is no longer mandatory. The documentation wasn't fully updated even though there was already the following sentence included at the time it became optional: > An implementation should expect and tolerate unknown categories, providing some reasonable fallback behavior (e.g. a "text" category). --- docs/reference-guides/block-api/block-metadata.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-guides/block-api/block-metadata.md b/docs/reference-guides/block-api/block-metadata.md index fd96ccf8a87049..028553b42abf72 100644 --- a/docs/reference-guides/block-api/block-metadata.md +++ b/docs/reference-guides/block-api/block-metadata.md @@ -176,7 +176,7 @@ This is the display title for your block, which can be translated with our trans ### Category - Type: `string` -- Required +- Optional - Localized: No - Property: `category`