Skip to content

Commit

Permalink
Revert "Modify label for connected paragraphs"
Browse files Browse the repository at this point in the history
This reverts commit e02a367.
  • Loading branch information
artemiomorales committed Sep 9, 2024
1 parent e02a367 commit 5f62c91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-library/src/paragraph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ export const settings = {
return customName;
}

const { content, metadata: currentMetadata } = attributes;

if ( currentMetadata?.bindings?.content ) {
return __( 'Paragraph with dynamic content' );
}
const { content } = attributes;
return ! content || content.length === 0 ? __( 'Empty' ) : content;
}
},
Expand Down

0 comments on commit 5f62c91

Please sign in to comment.