diff --git a/packages/block-library/src/image/edit.js b/packages/block-library/src/image/edit.js index 2a3a2b9530a36..c3e136cf6b705 100644 --- a/packages/block-library/src/image/edit.js +++ b/packages/block-library/src/image/edit.js @@ -474,8 +474,7 @@ class ImageEdit extends Component { type="number" className="block-library-image__dimensions__width" label={ __( 'Width' ) } - value={ width !== undefined ? width : '' } - placeholder={ imageWidth } + value={ width !== undefined ? width : imageWidth } min={ 1 } onChange={ this.updateWidth } /> @@ -483,8 +482,7 @@ class ImageEdit extends Component { type="number" className="block-library-image__dimensions__height" label={ __( 'Height' ) } - value={ height !== undefined ? height : '' } - placeholder={ imageHeight } + value={ height !== undefined ? height : imageHeight } min={ 1 } onChange={ this.updateHeight } />