@firestitch/block-editor 12.3.12 → 12.3.13

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.
@@ -552,7 +552,7 @@
552
552
  }
553
553
  rxjs.from(fsFile.imageInfo)
554
554
  .pipe(operators.switchMap(function (imageInfo) {
555
- if (imageInfo) {
555
+ if ((imageInfo === null || imageInfo === void 0 ? void 0 : imageInfo.height) && (imageInfo === null || imageInfo === void 0 ? void 0 : imageInfo.width)) {
556
556
  var ratio = imageInfo.height / imageInfo.width;
557
557
  block.width = _this._config.width * .4;
558
558
  block.height = block.width * ratio;