@ckeditor/ckeditor5-image 47.1.0-alpha.2 → 47.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/image.js +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/imageupload/imageuploadediting.js +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-image",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.2.0-alpha.0",
|
|
4
4
|
"description": "Image feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-clipboard": "47.
|
|
17
|
-
"@ckeditor/ckeditor5-core": "47.
|
|
18
|
-
"@ckeditor/ckeditor5-engine": "47.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.
|
|
20
|
-
"@ckeditor/ckeditor5-typing": "47.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "47.
|
|
22
|
-
"@ckeditor/ckeditor5-undo": "47.
|
|
23
|
-
"@ckeditor/ckeditor5-upload": "47.
|
|
24
|
-
"@ckeditor/ckeditor5-utils": "47.
|
|
25
|
-
"@ckeditor/ckeditor5-widget": "47.
|
|
26
|
-
"ckeditor5": "47.
|
|
16
|
+
"@ckeditor/ckeditor5-clipboard": "47.2.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "47.2.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "47.2.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-typing": "47.2.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-undo": "47.2.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-upload": "47.2.0-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.0",
|
|
25
|
+
"@ckeditor/ckeditor5-widget": "47.2.0-alpha.0",
|
|
26
|
+
"ckeditor5": "47.2.0-alpha.0",
|
|
27
27
|
"es-toolkit": "1.39.5"
|
|
28
28
|
},
|
|
29
29
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -193,7 +193,12 @@ export class ImageUploadEditing extends Plugin {
|
|
|
193
193
|
for (const imageElement of getImagesFromChangeItem(editor, item)) {
|
|
194
194
|
// Check if the image element still has upload id.
|
|
195
195
|
const uploadId = imageElement.getAttribute('uploadId');
|
|
196
|
-
|
|
196
|
+
const uploadStatus = imageElement.getAttribute('uploadStatus');
|
|
197
|
+
// Check if status is complete to ensure that there were no additional reconversions
|
|
198
|
+
// in the same batch that set the status to 'complete'. It may happen when list item
|
|
199
|
+
// performed refresh of its children (including images) because `uploadStatus` attribute
|
|
200
|
+
// has been changed.
|
|
201
|
+
if (!uploadId || uploadStatus == 'complete') {
|
|
197
202
|
continue;
|
|
198
203
|
}
|
|
199
204
|
// Check if the image is loaded on this client.
|