From 555fe5ce4a7c3edfc24b2556d60ec6bd8784fb0c Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Wed, 21 Dec 2022 11:08:42 +0900 Subject: [PATCH] Fix: missing links in block.json schema --- schemas/json/block.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/json/block.json b/schemas/json/block.json index 3a3726010d0b6..ae461ba4cabf3 100644 --- a/schemas/json/block.json +++ b/schemas/json/block.json @@ -183,7 +183,7 @@ }, "meta": { "type": "string", - "description": "Although attributes may be obtained from a post’s meta, meta attribute sources are considered deprecated; EntityProvider and related hook APIs should be used instead, as shown in the Create Meta Block how-to here:\n\nhttps://developer.wordpress.org/block-editor/how-to-guides/metabox/meta-block-3-add/" + "description": "Although attributes may be obtained from a post’s meta, meta attribute sources are considered deprecated; EntityProvider and related hook APIs should be used instead, as shown in the Create Meta Block how-to here:\n\nhttps://developer.wordpress.org/block-editor/how-to-guides/metabox/#step-2-add-meta-block" }, "default": { "description": "A block attribute can contain a default value, which will be used if the type and source do not match anything within the block content.\n\nThe value is provided by the default field, and the value should match the expected format of the attribute." @@ -401,7 +401,7 @@ }, "styles": { "type": "array", - "description": "Block styles can be used to provide alternative styles to block. It works by adding a class name to the block’s wrapper. Using CSS, a theme developer can target the class name for the block style if it is selected.\n\nPlugins and Themes can also register custom block style for existing blocks.\n\nhttps://developer.wordpress.org/block-editor/reference-guides/filters/block-filters/#block-styles", + "description": "Block styles can be used to provide alternative styles to block. It works by adding a class name to the block’s wrapper. Using CSS, a theme developer can target the class name for the block style if it is selected.\n\nPlugins and Themes can also register custom block style for existing blocks.\n\nhttps://developer.wordpress.org/block-editor/reference-guides/block-api/block-styles", "items": { "type": "object", "properties": {