Skip to content

Commit

Permalink
fix: innerBlocks schema description in block.json (#58649)
Browse files Browse the repository at this point in the history
* 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 <wildworks@git.wordpress.org>
Co-authored-by: ocean90 <ocean90@git.wordpress.org>
  • Loading branch information
3 people authored Feb 6, 2024
1 parent 4ea4431 commit 8afe850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
},
Expand Down

0 comments on commit 8afe850

Please sign in to comment.