Skip to content

Commit

Permalink
Copy caption across from image selected from media library (#30784)
Browse files Browse the repository at this point in the history
Co-authored-by: Glen Davies <[email protected]>
  • Loading branch information
glendaviesnz and Glen Davies authored Apr 13, 2021
1 parent d71011b commit 991437d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/gallery/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ function GalleryEdit( props ) {
return createBlock( 'core/image', {
id: image.id,
url: image.url,
caption: image.caption,
} );
} );

Expand Down

0 comments on commit 991437d

Please sign in to comment.