From 3705cf89292d979ab9247a8eabfcc862fe3dd223 Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Tue, 22 Oct 2024 07:57:29 +0200 Subject: [PATCH] Block editor: remove reusable blocks stylesheet from iframe (#66285) Co-authored-by: ellatrix Co-authored-by: youknowriad --- backport-changelog/6.8/7604.md | 3 +++ lib/client-assets.php | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 backport-changelog/6.8/7604.md diff --git a/backport-changelog/6.8/7604.md b/backport-changelog/6.8/7604.md new file mode 100644 index 0000000000000..fc6902859caa4 --- /dev/null +++ b/backport-changelog/6.8/7604.md @@ -0,0 +1,3 @@ +https://github.com/WordPress/wordpress-develop/pull/7604 + +* https://github.com/WordPress/gutenberg/pull/66285 diff --git a/lib/client-assets.php b/lib/client-assets.php index 3e4f79cd3c1f7..092ae2d367942 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -327,7 +327,6 @@ function gutenberg_register_packages_styles( $styles ) { 'wp-reset-editor-styles', 'wp-block-library', 'wp-patterns', - 'wp-reusable-blocks', // Until #37466, we can't specifically add them as editor styles yet, // so we must hard-code it here as a dependency. 'wp-block-editor-content',