@haluo/biz 2.0.8 → 2.0.9
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/haluo-biz.js
CHANGED
|
@@ -1832,7 +1832,7 @@ const _sfc_main = {
|
|
|
1832
1832
|
me.editorDom = document.getElementById("editor-content");
|
|
1833
1833
|
me.editorDom.addEventListener("blur", this.canSetAlign);
|
|
1834
1834
|
if (!window.Squire) {
|
|
1835
|
-
import("./squire-raw.
|
|
1835
|
+
import("./squire-raw.61527b92.js").then(function() {
|
|
1836
1836
|
me.initSquire();
|
|
1837
1837
|
});
|
|
1838
1838
|
} else {
|
|
@@ -2379,6 +2379,7 @@ const _sfc_main = {
|
|
|
2379
2379
|
this.parseHtml(data, essayPicRelVOList).then((res) => {
|
|
2380
2380
|
this.editorDom.innerHTML = "";
|
|
2381
2381
|
this.editor.insertElement(res);
|
|
2382
|
+
this.editor.saveUndoState();
|
|
2382
2383
|
this.updateData();
|
|
2383
2384
|
});
|
|
2384
2385
|
},
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -2381,6 +2381,7 @@
|
|
|
2381
2381
|
this.parseHtml(data, essayPicRelVOList).then((res) => {
|
|
2382
2382
|
this.editorDom.innerHTML = "";
|
|
2383
2383
|
this.editor.insertElement(res);
|
|
2384
|
+
this.editor.saveUndoState();
|
|
2384
2385
|
this.updateData();
|
|
2385
2386
|
});
|
|
2386
2387
|
},
|
|
@@ -6392,7 +6393,6 @@
|
|
|
6392
6393
|
this.focus();
|
|
6393
6394
|
this.setSelection(range);
|
|
6394
6395
|
this._updatePath(range);
|
|
6395
|
-
this.saveUndoState(range);
|
|
6396
6396
|
if (!canObserveMutations) {
|
|
6397
6397
|
this._docWasChanged();
|
|
6398
6398
|
}
|