Skip to content

Commit

Permalink
Add missing reset of borderColor attribute to resetAll
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 17, 2021
1 parent cc495ac commit 7333455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/border.js
Expand Up @@ -75,7 +75,7 @@ export function BorderPanel( props ) {
border: undefined,
} );

props.setAttributes( { style: newStyle } );
props.setAttributes( { style: newStyle, borderColor: undefined } );
};

return (
Expand Down

0 comments on commit 7333455

Please sign in to comment.