diff --git a/package.json b/package.json index c49a2a4..3bede6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pawritharya/editorjs-image-tool-delete", - "version": "1.0.64", + "version": "1.0.65", "keywords": [ "pawritharya", "tool", diff --git a/src/index.js b/src/index.js index 5f2c72b..bf348bf 100644 --- a/src/index.js +++ b/src/index.js @@ -603,6 +603,11 @@ export default class ImageTool { * @returns {void} */ uploadUrlWithDelegation(url) { + // do not reupload the previous blocks + if (this.data.file.url) { + return; + } + if (this.config.showPreloaderForUrlUpload) { this.ui.showPreloader(url); }