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-amd.d.ts
CHANGED
package/dist/rooster-amd.js
CHANGED
|
@@ -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.
|
|
23836
|
-
_this.
|
|
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;
|