diff --git a/packages/editor/src/components/rich-text/README.md b/packages/editor/src/components/rich-text/README.md index 4e543219177e4b..6774ca3879f49c 100644 --- a/packages/editor/src/components/rich-text/README.md +++ b/packages/editor/src/components/rich-text/README.md @@ -83,7 +83,7 @@ wp.blocks.registerBlockType( /* ... */, { } ); }, - save: function() { + save: function( props ) { return wp.element.createElement( wp.editor.RichText.Content, { tagName: 'h2', value: props.attributes.content } );