diff --git a/docs/block-api/deprecated-blocks.md b/docs/block-api/deprecated-blocks.md index 7c977089b926a1..99d84d0cf0ed55 100644 --- a/docs/block-api/deprecated-blocks.md +++ b/docs/block-api/deprecated-blocks.md @@ -112,7 +112,7 @@ registerBlockType( 'gutenberg/block-with-deprecated-version', { }, save: function( props ) { - return el( 'div', {}, props.attributes.text ); + return el( 'div', {}, props.attributes.content ); }, deprecated: [ @@ -153,7 +153,7 @@ registerBlockType( 'gutenberg/block-with-deprecated-version', { }, save( props ) { - return
{ props.attributes.text }
; + return
{ props.attributes.content }
; }, deprecated: [