@bobfrankston/rmfmail 1.2.193 → 1.2.194
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 +4 -3
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/compose.js +13 -3
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +12 -3
- package/client/package.json +1 -1
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-46388 → node_modules.npmglobalize-stash-81836}/.package-lock.json +0 -0
|
@@ -6150,8 +6150,9 @@ document.getElementById("btn-edit-in-word")?.addEventListener("click", async ()
|
|
|
6150
6150
|
return;
|
|
6151
6151
|
}
|
|
6152
6152
|
const label = result.opener === "word" ? "Word" : result.opener === "libreoffice" ? "LibreOffice" : "your default editor";
|
|
6153
|
-
|
|
6154
|
-
|
|
6153
|
+
const isDocx = /\.docx$/i.test(result.path || "");
|
|
6154
|
+
showDraftStatus(`Editing in ${label} \u2014 Ctrl+S there and the message updates here automatically.`, false);
|
|
6155
|
+
if (!isDocx) showExternalEditHint(label);
|
|
6155
6156
|
} catch (e) {
|
|
6156
6157
|
showDraftStatus(`Edit-in-Word failed: ${e?.message || e}`, true);
|
|
6157
6158
|
}
|
|
@@ -6257,7 +6258,7 @@ function showExternalEditHint(editorLabel) {
|
|
|
6257
6258
|
<div style="font-weight:600;font-size:16px;margin-bottom:10px;">Editing in ${escapeHtml(editorLabel)}</div>
|
|
6258
6259
|
<ol style="margin:0 0 12px 18px;padding:0;">
|
|
6259
6260
|
<li>Edit your message in <b>${escapeHtml(editorLabel)}</b>.</li>
|
|
6260
|
-
<li>Save (<b>Ctrl+S</b>).
|
|
6261
|
+
<li>Save (<b>Ctrl+S</b>). Choose <b>"Web Page, Filtered (.htm)"</b> if asked for a format \u2014 keep the same filename.</li>
|
|
6261
6262
|
<li>Switch back to this window (<b>Alt+Tab</b>). The body will reload here.</li>
|
|
6262
6263
|
<li>Click <b>Send</b> in this window when ready.</li>
|
|
6263
6264
|
</ol>
|