diff --git a/docs/designers-developers/developers/block-api/block-registration.md b/docs/designers-developers/developers/block-api/block-registration.md index 3ee880dacd9fb8..4162468b508a92 100644 --- a/docs/designers-developers/developers/block-api/block-registration.md +++ b/docs/designers-developers/developers/block-api/block-registration.md @@ -195,7 +195,8 @@ example: { attributes: { cover: 'https://example.com/image.jpg', }, - innerBlocks: { + innerBlocks: [ + { name: 'core/paragraph', attributes: { /* translators: example text. */ @@ -204,6 +205,7 @@ example: { ), }, }, + ], }, ```