@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.
@@ -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
- showDraftStatus(`Editing in ${label} \u2014 saves there will reload here.`, false);
6154
- showExternalEditHint(label);
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>). Today, choose <b>"Web Page, Filtered (.htm)"</b> if Word asks for a format \u2014 keep the same filename.</li>
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>