From 6715560d1caf4926f5ab4b29bc9041a55b6a035c Mon Sep 17 00:00:00 2001 From: Chris Van Patten Date: Tue, 23 Oct 2018 11:14:11 -0400 Subject: [PATCH] Add "img" as a keyword for the image block (#10955) * Add "img" as a keyword for the image block * Add comment for future maintainers on why we don't translate "img" --- packages/block-library/src/image/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/image/index.js b/packages/block-library/src/image/index.js index 920a02f8519b39..1b18f673ca9e05 100644 --- a/packages/block-library/src/image/index.js +++ b/packages/block-library/src/image/index.js @@ -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 tag. + __( 'photo' ), + ], attributes: blockAttributes,