Skip to content

Commit

Permalink
define support key in the supports hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Canales committed Jan 18, 2024
1 parent 7b751fa commit 831db3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-editor/src/hooks/supports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 831db3d

Please sign in to comment.