Skip to content

Commit

Permalink
Use media caption attribute. (#21611)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Apr 20, 2020
1 parent 3ce4265 commit e81add5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/image/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export class ImageEdit extends React.Component {
const mediaAttributes = {
id: media.id,
url: media.url,
caption: media.caption,
};

let additionalAttributes;
Expand Down

0 comments on commit e81add5

Please sign in to comment.