From 44940bc639b13485f512a05fc3255e5d48b15afd Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:23:36 +0200 Subject: [PATCH] Site Editor: remove content styles outside canvas (#66432) --- backport-changelog/6.8/7643.md | 3 +++ lib/client-assets.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 backport-changelog/6.8/7643.md diff --git a/backport-changelog/6.8/7643.md b/backport-changelog/6.8/7643.md new file mode 100644 index 00000000000000..e3c923a487be06 --- /dev/null +++ b/backport-changelog/6.8/7643.md @@ -0,0 +1,3 @@ +https://github.com/WordPress/wordpress-develop/pull/7643 + +* https://github.com/WordPress/gutenberg/pull/66432 diff --git a/lib/client-assets.php b/lib/client-assets.php index 9cdee4753f43b7..f6b17ffcce68be 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -410,7 +410,7 @@ function gutenberg_register_packages_styles( $styles ) { $styles, 'wp-edit-site', gutenberg_url( 'build/edit-site/style.css' ), - array( 'wp-components', 'wp-block-editor', 'wp-editor', 'wp-edit-blocks', 'wp-commands', 'wp-preferences' ), + array( 'wp-components', 'wp-block-editor', 'wp-editor', 'common', 'forms', 'wp-commands', 'wp-preferences' ), $version ); $styles->add_data( 'wp-edit-site', 'rtl', 'replace' );