Skip to content

Commit

Permalink
Update packages/block-editor/src/hooks/settings.js
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Fonseca <[email protected]>
  • Loading branch information
oandregal and mcsf committed Apr 26, 2022
1 parent 6696b30 commit ff74799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { addFilter } from '@wordpress/hooks';
import { hasBlockSupport } from '@wordpress/blocks';

const hasSettingsSupport = ( blockType ) =>
hasBlockSupport( blockType, 'settings', true );
hasBlockSupport( blockType, 'settings', false );

function addAttribute( settings ) {
if ( ! hasSettingsSupport( settings ) ) {
Expand Down

0 comments on commit ff74799

Please sign in to comment.