Skip to content

Commit

Permalink
Add comment for discussion around pattern overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jan 4, 2024
1 parent 1c1978f commit 2d5d780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ function getOverridesFromBlocks( blocks, defaultValues ) {
if (
block.attributes[ attributeKey ] !== defaultValues[ blockId ]
) {
// This line doesn't seem to add the multiple overrides properly.
// Is this expected behavior for now?
overrides[ blockId ] = block.attributes[ attributeKey ];
}
}
Expand Down

0 comments on commit 2d5d780

Please sign in to comment.