@syncfusion/ej2-image-editor 28.1.39 → 28.2.3

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.
@@ -4962,14 +4962,16 @@ var Draw = /** @__PURE__ @class */ (function () {
4962
4962
  this.openImageData(dropArea);
4963
4963
  return;
4964
4964
  }
4965
- var fileType = this.getFileExtensionFromURL(this.openURL).toLowerCase();
4965
+ var fileType = this.getFileExtensionFromURL(this.openURL);
4966
4966
  if (fileType) {
4967
+ fileType = fileType.toLowerCase();
4967
4968
  fileType = (fileType === 'jpg' || fileType === 'jpeg') ? 'jpeg' : fileType;
4968
4969
  }
4969
4970
  var isAllowedFileType = (fileType ? (extension.indexOf(fileType) > -1 ||
4970
4971
  (fileType === 'jpeg' && (parent.uploadSettings.allowedExtensions.indexOf('jpg') > -1 ||
4971
4972
  parent.uploadSettings.allowedExtensions.indexOf('jpeg') > -1))) : false) || this.isNullExtension;
4972
- if (this.openURL.indexOf('data:image/') > -1 && this.openURL.indexOf('base64') > -1) {
4973
+ if ((this.openURL.indexOf('data:image/') > -1 && this.openURL.indexOf('base64') > -1) ||
4974
+ this.openURL.indexOf('blob') > -1) {
4973
4975
  this.openImageData(dropArea, true);
4974
4976
  }
4975
4977
  else if (parent.uploadSettings.minFileSize || parent.uploadSettings.maxFileSize) {