Skip to content

Commit

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

Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
3 people committed Mar 22, 2024
1 parent 2465c27 commit 1feb453
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 1feb453

Please sign in to comment.