From 831db3d354d65e46762cf4eba816b93ff702ee9c Mon Sep 17 00:00:00 2001 From: Vicente Canales Date: Thu, 11 Jan 2024 18:47:19 -0300 Subject: [PATCH] define support key in the supports hook --- packages/block-editor/src/hooks/supports.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/block-editor/src/hooks/supports.js b/packages/block-editor/src/hooks/supports.js index 21dceafe3bb484..ce0119ca8d8849 100644 --- a/packages/block-editor/src/hooks/supports.js +++ b/packages/block-editor/src/hooks/supports.js @@ -6,8 +6,6 @@ import { Platform } from '@wordpress/element'; /** * Internal dependencies */ -import { EFFECTS_SUPPORT_KEYS } from './effects'; - const ALIGN_SUPPORT_KEY = 'align'; const ALIGN_WIDE_SUPPORT_KEY = 'alignWide'; const BORDER_SUPPORT_KEY = '__experimentalBorder'; @@ -63,6 +61,7 @@ const TYPOGRAPHY_SUPPORT_KEYS = [ WRITING_MODE_SUPPORT_KEY, LETTER_SPACING_SUPPORT_KEY, ]; +const EFFECTS_SUPPORT_KEYS = [ 'shadow' ]; const SPACING_SUPPORT_KEY = 'spacing'; const styleSupportKeys = [ ...EFFECTS_SUPPORT_KEYS,