diff --git a/packages/block-library/src/comments/block.json b/packages/block-library/src/comments/block.json index 9469917ef150d0..51a926b8178151 100644 --- a/packages/block-library/src/comments/block.json +++ b/packages/block-library/src/comments/block.json @@ -29,10 +29,5 @@ } }, "editorStyle": "wp-block-comments-editor", - "style": [ - "wp-block-post-comments", - "wp-block-buttons", - "wp-block-button" - ], "usesContext": [ "postId", "postType" ] } diff --git a/packages/block-library/src/comments/index.php b/packages/block-library/src/comments/index.php index 2922821142ddcf..bc44255fd3cf52 100644 --- a/packages/block-library/src/comments/index.php +++ b/packages/block-library/src/comments/index.php @@ -65,6 +65,7 @@ function render_block_core_comments_query_loop( $attributes, $content, $block ) $output = ob_get_clean(); wp_enqueue_script( 'comment-reply' ); + enqueue_legacy_post_comments_block_styles( $block->name ); return sprintf( '