From 84d77c69cd480773de3108909fc260d0f57c72be Mon Sep 17 00:00:00 2001 From: Marta Motyczynska Date: Thu, 7 Sep 2023 15:53:35 +0200 Subject: [PATCH] Update description for uploadComplete handler. --- packages/ckeditor5-image/src/imageupload/imageuploadediting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ckeditor5-image/src/imageupload/imageuploadediting.ts b/packages/ckeditor5-image/src/imageupload/imageuploadediting.ts index 418a7037e46..f93e374c484 100644 --- a/packages/ckeditor5-image/src/imageupload/imageuploadediting.ts +++ b/packages/ckeditor5-image/src/imageupload/imageuploadediting.ts @@ -233,7 +233,7 @@ export default class ImageUploadEditing extends Plugin { } ); // Set the default handler for feeding the image element with `src` and `srcset` attributes. - // Load the image, read and set `width` and `height` attributes (original sizes). + // Also set the natural `width` and `height` attributes (if not already set). this.on( 'uploadComplete', ( evt, { imageElement, data } ) => { const urls = data.urls ? data.urls as Record : data;