From 4d874d7d7627c2b92f208d832785dd03ca158027 Mon Sep 17 00:00:00 2001 From: Jeremy Yip Date: Mon, 22 Jun 2020 02:01:41 -0700 Subject: [PATCH] Set image attributes with newly generated url (#23342) --- packages/block-library/src/image/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index f529acf98a9e22..fe834aab24d04a 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -164,7 +164,7 @@ export default function Image( { } setAttributes( { - url, + url: newUrl, width: undefined, height: undefined, sizeSlug: newSizeSlug,