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-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +1 -1
- package/dist/rooster-amd.js +2 -6
- package/dist/rooster-amd.js.map +1 -1
- package/dist/rooster-min.js +1 -1
- package/dist/rooster-min.js.map +1 -1
- package/dist/rooster.d.ts +1 -1
- package/dist/rooster.js +2 -6
- package/dist/rooster.js.map +1 -1
- package/package.json +7 -7
package/dist/rooster.d.ts
CHANGED
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.
|
|
23837
|
-
_this.
|
|
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;
|