@social-mail/social-mail-client 1.2.418 → 1.2.419
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/admin/AdminAppIndex.pack.js +9 -1
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts +2 -0
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +9 -1
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +9 -1
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/HtmlPageEditor.tsx +13 -1
|
@@ -51514,7 +51514,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
51514
51514
|
if (previous !== this.htmlDocument.body) {
|
|
51515
51515
|
previous.removeAttribute("contentEditable");
|
|
51516
51516
|
}
|
|
51517
|
-
this.
|
|
51517
|
+
this.queueCommit();
|
|
51518
51518
|
}
|
|
51519
51519
|
e.preventDefault();
|
|
51520
51520
|
this.setSelection(target);
|
|
@@ -51575,6 +51575,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
51575
51575
|
}
|
|
51576
51576
|
}
|
|
51577
51577
|
});
|
|
51578
|
+
this.htmlDocument.addEventListener("input", () => this.queueCommit());
|
|
51578
51579
|
InstallDragDropHelper(this);
|
|
51579
51580
|
this.htmlDocument.close();
|
|
51580
51581
|
EditorCustomElements.register(this.htmlDocument);
|
|
@@ -51595,6 +51596,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
51595
51596
|
}, 10);
|
|
51596
51597
|
}));
|
|
51597
51598
|
}
|
|
51599
|
+
queueCommit() {
|
|
51600
|
+
const id = this.lastCommitTimerID;
|
|
51601
|
+
if (id) {
|
|
51602
|
+
clearTimeout(id);
|
|
51603
|
+
}
|
|
51604
|
+
this.lastCommitTimerID = setTimeout(() => this.commit(), 1000);
|
|
51605
|
+
}
|
|
51598
51606
|
setStylerSheet() {
|
|
51599
51607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
51600
51608
|
const document = this.htmlDocument;
|