@bobfrankston/rmfmail 1.2.235 → 1.2.236
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 +5 -1
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/compose.js +4 -1
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +5 -1
- 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-15996}/.package-lock.json +0 -0
|
@@ -6773,9 +6773,13 @@ function showExternalEditHint(editorLabel) {
|
|
|
6773
6773
|
}
|
|
6774
6774
|
onEvent((ev) => {
|
|
6775
6775
|
if (ev?.type !== "wordEditUpdated") return;
|
|
6776
|
-
if (!wordEditId || ev.editId !== wordEditId)
|
|
6776
|
+
if (!wordEditId || ev.editId !== wordEditId) {
|
|
6777
|
+
console.log(`[word-edit] ignoring save for ${ev.editId} \u2014 this window is ${wordEditId || "(no session)"}`);
|
|
6778
|
+
return;
|
|
6779
|
+
}
|
|
6777
6780
|
try {
|
|
6778
6781
|
extEditHintClose?.();
|
|
6782
|
+
console.log(`[word-edit] applying mirrored save: ${(ev.html || "").length} chars (editId ${ev.editId})`);
|
|
6779
6783
|
editor.setHtml(ev.html || "");
|
|
6780
6784
|
showDraftStatus("Reloaded edits from external editor.", false);
|
|
6781
6785
|
scheduleDraftSave();
|