Skip to content

Commit

Permalink
Add "img" as a keyword for the image block (#10955)
Browse files Browse the repository at this point in the history
* Add "img" as a keyword for the image block

* Add comment for future maintainers on why we don't translate "img"
  • Loading branch information
chrisvanpatten committed Oct 23, 2018
1 parent 77fab02 commit 6715560
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/block-library/src/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ export const settings = {

category: 'common',

keywords: [ __( 'photo' ) ],
keywords: [
'img', // "img" is not translated as it is intended to reflect the HTML <img> tag.
__( 'photo' ),
],

attributes: blockAttributes,

Expand Down

0 comments on commit 6715560

Please sign in to comment.