From ed4a033786718597f9434663798e18ccc17b566b Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Tue, 25 Oct 2022 16:25:29 +1100 Subject: [PATCH] Add missing spread to global styles output --- .../src/components/global-styles/use-global-styles-output.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/edit-site/src/components/global-styles/use-global-styles-output.js b/packages/edit-site/src/components/global-styles/use-global-styles-output.js index 212045403708fb..d0fdeea1b31fd7 100644 --- a/packages/edit-site/src/components/global-styles/use-global-styles-output.js +++ b/packages/edit-site/src/components/global-styles/use-global-styles-output.js @@ -868,6 +868,7 @@ function updateConfigWithSeparator( config ) { 'core/separator': { ...config.styles.blocks[ 'core/separator' ], color: { + ...config.styles.blocks[ 'core/separator' ].color, text: config.styles?.blocks[ 'core/separator' ] .color.background, },