diff --git a/blocks/README.md b/blocks/README.md index 239bbe82ba972..9383695c2906f 100644 --- a/blocks/README.md +++ b/blocks/README.md @@ -246,6 +246,7 @@ editor interface where blocks are implemented. - `save( { attributes: Object } ): WPElement | String` - Returns an element describing the markup of a block to be saved in the published content. This function is called before save and when switching to an editor's HTML view. +- `keywords` - An optional array of keywords used to filter the block list. ### `wp.blocks.getBlockType( name: string )` diff --git a/blocks/library/verse/index.js b/blocks/library/verse/index.js index 7a1e40a800e3d..966124ca2324c 100644 --- a/blocks/library/verse/index.js +++ b/blocks/library/verse/index.js @@ -21,7 +21,7 @@ registerBlockType( 'core/verse', { category: 'formatting', - keywords: [ 'poetry' ], + keywords: [ __( 'poetry' ) ], attributes: { content: children( 'pre' ),