diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md
index b84d8edb8e9d98..559417fa5dff76 100644
--- a/docs/reference-guides/core-blocks.md
+++ b/docs/reference-guides/core-blocks.md
@@ -247,7 +247,6 @@ Add an image or video with a text overlay. ([Source](https://github.com/WordPres
Hide and show additional content. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/details))
- **Name:** core/details
-- **Experimental:** true
- **Category:** text
- **Supports:** align (full, wide), color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
- **Attributes:** showContent, summary
diff --git a/lib/experimental/editor-settings.php b/lib/experimental/editor-settings.php
index 9571d50fdf3f27..67e08265558e1f 100644
--- a/lib/experimental/editor-settings.php
+++ b/lib/experimental/editor-settings.php
@@ -86,9 +86,6 @@ function gutenberg_enable_experiments() {
if ( $gutenberg_experiments && array_key_exists( 'gutenberg-group-grid-variation', $gutenberg_experiments ) ) {
wp_add_inline_script( 'wp-block-editor', 'window.__experimentalEnableGroupGridVariation = true', 'before' );
}
- if ( $gutenberg_experiments && array_key_exists( 'gutenberg-details-blocks', $gutenberg_experiments ) ) {
- wp_add_inline_script( 'wp-block-editor', 'window.__experimentalEnableDetailsBlocks = true', 'before' );
- }
if ( $gutenberg_experiments && array_key_exists( 'gutenberg-pattern-enhancements', $gutenberg_experiments ) ) {
wp_add_inline_script( 'wp-block-editor', 'window.__experimentalEnablePatternEnhancements = true', 'before' );
}
diff --git a/lib/experiments-page.php b/lib/experiments-page.php
index 9e31815f3f50ff..eb6a1ea8a7336c 100644
--- a/lib/experiments-page.php
+++ b/lib/experiments-page.php
@@ -77,18 +77,6 @@ function gutenberg_initialize_experiments_settings() {
)
);
- add_settings_field(
- 'gutenberg-details-blocks',
- __( 'Details block', 'gutenberg' ),
- 'gutenberg_display_experiment_field',
- 'gutenberg-experiments',
- 'gutenberg_experiments_section',
- array(
- 'label' => __( 'Test the Details block', 'gutenberg' ),
- 'id' => 'gutenberg-details-blocks',
- )
- );
-
add_settings_field(
'gutenberg-theme-previews',
__( 'Block Theme Previews', 'gutenberg' ),
diff --git a/packages/block-library/src/details/block.json b/packages/block-library/src/details/block.json
index 40321ee6b0c9c1..4eb7af8d5ce623 100644
--- a/packages/block-library/src/details/block.json
+++ b/packages/block-library/src/details/block.json
@@ -1,7 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
- "__experimental": true,
"name": "core/details",
"title": "Details",
"category": "text",
diff --git a/packages/block-library/src/index.js b/packages/block-library/src/index.js
index a0c7b75eac19b8..73c2f1eb1140a2 100644
--- a/packages/block-library/src/index.js
+++ b/packages/block-library/src/index.js
@@ -147,6 +147,7 @@ const getAllBlocks = () => {
columns,
commentAuthorAvatar,
cover,
+ details,
embed,
file,
group,
@@ -226,9 +227,6 @@ const getAllBlocks = () => {
queryTitle,
postAuthorBiography,
];
- if ( window?.__experimentalEnableDetailsBlocks ) {
- blocks.push( details );
- }
return blocks.filter( Boolean );
};
diff --git a/test/integration/fixtures/blocks/core__details.html b/test/integration/fixtures/blocks/core__details.html
new file mode 100644
index 00000000000000..855ea3f0a4f556
--- /dev/null
+++ b/test/integration/fixtures/blocks/core__details.html
@@ -0,0 +1,7 @@
+
+ Details ContentDetails Summary
+
+
Details Content
\n\t", + "innerContent": [ "\n\tDetails Content
\n\t" ] + } + ], + "innerHTML": "\nDetails Content
+