diff --git a/packages/block-library/src/paragraph/index.js b/packages/block-library/src/paragraph/index.js index 715fb35ec05ab1..e87bf6cacab56e 100644 --- a/packages/block-library/src/paragraph/index.js +++ b/packages/block-library/src/paragraph/index.js @@ -30,18 +30,21 @@ export const settings = { __experimentalLabel( attributes, { context } ) { const customName = attributes?.metadata?.name; - if ( context === 'list-view' && customName ) { - return customName; - } - if ( context === 'accessibility' ) { - if ( customName ) { + if ( + customName && + ! attributes?.metadata?.bindings?.source === 'pattern/overrides' + ) { return customName; } const { content } = attributes; return ! content || content.length === 0 ? __( 'Empty' ) : content; } + + if ( context === 'list-view' && customName ) { + return customName; + } }, transforms, deprecated,