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.
package/dist/rooster.d.ts CHANGED
@@ -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
 
package/dist/rooster.js CHANGED
@@ -23833,12 +23833,8 @@ var ImageEdit = /** @class */ (function () {
23833
23833
  * Remove the temp wrapper of the image
23834
23834
  */
23835
23835
  this.removeWrapper = function () {
23836
- if (_this.editor &&
23837
- _this.image &&
23838
- _this.image.parentNode &&
23839
- _this.editor.contains(_this.image) &&
23840
- _this.wrapper) {
23841
- (0, roosterjs_editor_dom_1.unwrap)(_this.image.parentNode);
23836
+ if (_this.shadowSpan) {
23837
+ (0, roosterjs_editor_dom_1.unwrap)(_this.shadowSpan);
23842
23838
  }
23843
23839
  _this.wrapper = null;
23844
23840
  _this.shadowSpan = null;