Skip to content

Commit

Permalink
remove extraneous align class setting in image block save function
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Nov 22, 2023
1 parent 564f236 commit 0d0dc0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/block-library/src/image/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function save( { attributes } ) {
url,
alt,
caption,
align,
href,
rel,
linkClass,
Expand All @@ -36,7 +35,6 @@ export default function save( { attributes } ) {
const borderProps = getBorderClassesAndStyles( attributes );

const classes = classnames( {
[ `align${ align }` ]: align,
[ `size-${ sizeSlug }` ]: sizeSlug,
'is-resized': width || height,
'has-custom-border':
Expand Down

0 comments on commit 0d0dc0b

Please sign in to comment.