Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/block-editor/src/hooks/settings.js
Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
  • Loading branch information
oandregal and mcsf committed Apr 28, 2022
commit 322e113476b107d13a8b1801830d0bd836a5e50f
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