roosterjs 8.44.0 → 8.44.1

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.
@@ -1,4 +1,4 @@
1
- // Type definitions for roosterjs (Version 8.44.0)
1
+ // Type definitions for roosterjs (Version 8.44.1)
2
2
  // Generated by dts tool from roosterjs
3
3
  // Project: https://github.com/Microsoft/roosterjs
4
4
 
@@ -23832,12 +23832,8 @@ var ImageEdit = /** @class */ (function () {
23832
23832
  * Remove the temp wrapper of the image
23833
23833
  */
23834
23834
  this.removeWrapper = function () {
23835
- if (_this.editor &&
23836
- _this.image &&
23837
- _this.image.parentNode &&
23838
- _this.editor.contains(_this.image) &&
23839
- _this.wrapper) {
23840
- (0, roosterjs_editor_dom_1.unwrap)(_this.image.parentNode);
23835
+ if (_this.shadowSpan) {
23836
+ (0, roosterjs_editor_dom_1.unwrap)(_this.shadowSpan);
23841
23837
  }
23842
23838
  _this.wrapper = null;
23843
23839
  _this.shadowSpan = null;