From 8afe850e85b2751527487b70cdf6001c3e385a70 Mon Sep 17 00:00:00 2001 From: Shreyash Date: Tue, 6 Feb 2024 08:50:14 +0530 Subject: [PATCH] fix: innerBlocks schema description in block.json (#58649) * Fix innerBlocks schema description in block.json (#58381) * docs: Update innerBlocks description in block.json Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * docs: Update innerBlocks description in block.json --------- Unlinked contributors: shreyash3087, MHRSRoni. Co-authored-by: t-hamano Co-authored-by: ocean90 --- schemas/json/block.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/json/block.json b/schemas/json/block.json index 9c1e89b8a601ad..7234f36a5e0ecb 100644 --- a/schemas/json/block.json +++ b/schemas/json/block.json @@ -745,7 +745,7 @@ }, "innerBlocks": { "type": "array", - "description": "Set the inner blocks that should be used within the block example. The blocks should be defined as a nested array like this: \n\n [ [ 'core/heading', { content: 'This is an Example' }, [] ] ]\n\n Where each block itself is an array that contains the block name, the block attributes, and the blocks inner blocks." + "description": "Set the inner blocks that should be used within the block example. The blocks should be defined as a nested array like this:\n\n[ { \"name\": \"core/heading\", \"attributes\": { \"content\": \"This is an Example\" } } ]\n\nWhere each block itself is an object that contains the block name, the block attributes, and the blocks inner blocks." } } },