@bobfrankston/rmfmail 1.2.237 → 1.2.238

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.
@@ -6775,12 +6775,12 @@ function showExternalEditHint(editorLabel) {
6775
6775
  onEvent((ev) => {
6776
6776
  if (ev?.type !== "wordEditUpdated") return;
6777
6777
  if (!wordEditId || ev.editId !== wordEditId) {
6778
- console.log(`[word-edit] ignoring save for ${ev.editId} \u2014 this window is ${wordEditId || "(no session)"}`);
6778
+ logClientEvent("word-edit-ignored", { forEditId: ev.editId, thisWindow: wordEditId || null });
6779
6779
  return;
6780
6780
  }
6781
6781
  try {
6782
6782
  extEditHintClose?.();
6783
- console.log(`[word-edit] applying mirrored save: ${(ev.html || "").length} chars (editId ${ev.editId})`);
6783
+ logClientEvent("word-edit-applied", { chars: (ev.html || "").length, editId: ev.editId });
6784
6784
  editor.setHtml(ev.html || "");
6785
6785
  showDraftStatus("Reloaded edits from external editor.", false);
6786
6786
  scheduleDraftSave();