Skip to content

Commit 309338a

Browse files
shimotmkshimotmkt-hamano
authored
Featured Cover: fixed resetAll to return image resolution to default value (#70608)
Co-authored-by: shimotmk <[email protected]> Co-authored-by: t-hamano <[email protected]>
1 parent f7ba498 commit 309338a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-library/src/cover/edit/inspector-controls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ export default function CoverInspectorControls( {
198198
focalPoint: undefined,
199199
isRepeated: false,
200200
alt: '',
201-
sizeSlug: undefined,
202201
} );
202+
updateImage( DEFAULT_MEDIA_SIZE_SLUG );
203203
} }
204204
dropdownMenuProps={ dropdownMenuProps }
205205
>

0 commit comments

Comments
 (0)