Skip to content

Commit

Permalink
Fix error in code example. (#51070)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego authored May 30, 2023
1 parent 24f78b5 commit e318682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to-guides/curating-the-editor-experience.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ addFilter(
'blockEditor.useSetting.before',
'example/useSetting.before',
( settingValue, settingName, clientId, blockName ) => {
if ( blockName === Media & Text block'core/column' && settingName === 'spacing.units' ) {
if ( blockName === 'core/column' && settingName === 'spacing.units' ) {
return [ 'px' ];
}
return settingValue;
Expand Down

0 comments on commit e318682

Please sign in to comment.