Skip to content

Commit

Permalink
Add __next40pxDefaultSize to image block title attribute control (Wor…
Browse files Browse the repository at this point in the history
…dPress#60117)

Co-authored-by: richtabor <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
3 people authored and carstingaxion committed Mar 27, 2024
1 parent 88ce6d9 commit 8dd4a47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ export default function Image( {
<InspectorControls group="advanced">
<TextControl
__nextHasNoMarginBottom
__next40pxDefaultSize
label={ __( 'Title attribute' ) }
value={ title || '' }
onChange={ onSetTitle }
Expand Down

0 comments on commit 8dd4a47

Please sign in to comment.