@bobfrankston/rmfmail 1.2.235 → 1.2.237
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/client/compose/compose.bundle.js +6 -1
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/compose.js +17 -2
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +19 -2
- package/package.json +1 -1
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +19 -0
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +19 -0
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-53964 → node_modules.npmglobalize-stash-40840}/.package-lock.json +0 -0
|
@@ -4971,6 +4971,7 @@ init_api_client();
|
|
|
4971
4971
|
init_edit_commands();
|
|
4972
4972
|
init_context_menu();
|
|
4973
4973
|
installConsoleCapture();
|
|
4974
|
+
connectEvents();
|
|
4974
4975
|
logClientEvent("compose-module-loaded", { href: location.href, version: window.mailxVersion || "?" });
|
|
4975
4976
|
var _composeT0 = performance.now();
|
|
4976
4977
|
function _ctick(label) {
|
|
@@ -6773,9 +6774,13 @@ function showExternalEditHint(editorLabel) {
|
|
|
6773
6774
|
}
|
|
6774
6775
|
onEvent((ev) => {
|
|
6775
6776
|
if (ev?.type !== "wordEditUpdated") return;
|
|
6776
|
-
if (!wordEditId || ev.editId !== wordEditId)
|
|
6777
|
+
if (!wordEditId || ev.editId !== wordEditId) {
|
|
6778
|
+
console.log(`[word-edit] ignoring save for ${ev.editId} \u2014 this window is ${wordEditId || "(no session)"}`);
|
|
6779
|
+
return;
|
|
6780
|
+
}
|
|
6777
6781
|
try {
|
|
6778
6782
|
extEditHintClose?.();
|
|
6783
|
+
console.log(`[word-edit] applying mirrored save: ${(ev.html || "").length} chars (editId ${ev.editId})`);
|
|
6779
6784
|
editor.setHtml(ev.html || "");
|
|
6780
6785
|
showDraftStatus("Reloaded edits from external editor.", false);
|
|
6781
6786
|
scheduleDraftSave();
|