@bobfrankston/rmfmail 1.2.30 → 1.2.32

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.
@@ -355,11 +355,15 @@
355
355
  if (!url) return;
356
356
  try {
357
357
  if (/Android/i.test(navigator.userAgent)) {
358
- var f = document.createElement("iframe");
359
- f.style.display = "none";
360
- f.src = "mailxapi://openurl?url=" + encodeURIComponent(url);
361
- document.body.appendChild(f);
362
- setTimeout(function () { f.remove(); }, 500);
358
+ // Use the SAME mechanism the contact/calendar intents use: a
359
+ // top-frame location.href to mailxapi-intent://, which the MAUI
360
+ // WebView's OnNavigating reliably intercepts. The old hidden-
361
+ // iframe to mailxapi://openurl did NOT work — OnNavigating fires
362
+ // for MAIN-frame navigations only, not sub-frame (iframe) ones,
363
+ // so LinkedIn "View message" and every preview link silently did
364
+ // nothing (Bob 2026-06-17). location.href is canceled by the
365
+ // handler (e.Cancel) so the page doesn't navigate away.
366
+ window.location.href = "mailxapi-intent://open/" + encodeURIComponent(url);
363
367
  return;
364
368
  }
365
369
  } catch (e) { /* fall through to IPC */ }
@@ -251,10 +251,21 @@ export async function createTinyMceEditor(container, opts = {}) {
251
251
  // selection adjustment, Bob 2026-05-24). Plain bar is
252
252
  // browser-default and behaves correctly with arrow keys;
253
253
  // just darken the color so it stays visible.
254
- "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #0a2647; }",
254
+ // Explicit line-height (was implicit/skin-default). WebView2's
255
+ // native spell-check red squiggle was rendering ABOVE the word
256
+ // instead of under it (Bob 2026-06-17, on reply-attribution
257
+ // lines). The marker is positioned from the line-box metrics, and
258
+ // an undefined/oversized line-height plus per-line font-size
259
+ // changes threw it off. A definite, tight line-height gives the
260
+ // marker a stable baseline to sit under.
261
+ "body { font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.3; caret-color: #0a2647; }",
255
262
  "blockquote { border-left: 3px solid #c0c8d0; margin: 0 0 0 4px; padding: 2px 0 2px 10px; color: #555; }",
256
- "div.reply { margin-top: 0.5em; }",
257
- "div.reply > p:first-child { color: #666; font-size: 0.95em; margin: 0 0 4px 0; }",
263
+ // Drop the 0.5em margin-gap above the reply block and the per-line
264
+ // font-size shrink on the attribution line both contributed to
265
+ // the squiggle landing in the gap above the words. Keep it the
266
+ // same size + line-height as body so the marker aligns.
267
+ "div.reply { margin-top: 0; }",
268
+ "div.reply > p:first-child { color: #666; line-height: 1.3; margin: 0 0 4px 0; }",
258
269
  "pre, code { font-family: ui-monospace, Consolas, Menlo, monospace; }",
259
270
  ].join(" "),
260
271
  init_instance_callback: (ed) => resolve(ed),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.2.30",
3
+ "version": "1.2.32",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -38,14 +38,14 @@
38
38
  "dependencies": {
39
39
  "@bobfrankston/iflow-direct": "^0.1.55",
40
40
  "@bobfrankston/mailx-host": "^0.1.13",
41
- "@bobfrankston/mailx-imap": "^0.1.99",
41
+ "@bobfrankston/mailx-imap": "^0.1.100",
42
42
  "@bobfrankston/mailx-store-web": "^0.1.27",
43
43
  "@bobfrankston/mailx-sync": "^0.1.22",
44
44
  "@bobfrankston/miscinfo": "^1.0.13",
45
45
  "@bobfrankston/msger": "^0.1.387",
46
46
  "@bobfrankston/node-tcp-transport": "^0.1.10",
47
47
  "@bobfrankston/oauthsupport": "^1.0.32",
48
- "@bobfrankston/rmf-tiny": "^0.1.33",
48
+ "@bobfrankston/rmf-tiny": "^0.1.34",
49
49
  "@bobfrankston/smtp-direct": "^0.1.9",
50
50
  "@bobfrankston/tcp-transport": "^0.1.7",
51
51
  "@capacitor/android": "^8.3.0",
@@ -118,14 +118,14 @@
118
118
  "dependencies": {
119
119
  "@bobfrankston/iflow-direct": "^0.1.55",
120
120
  "@bobfrankston/mailx-host": "^0.1.13",
121
- "@bobfrankston/mailx-imap": "^0.1.99",
121
+ "@bobfrankston/mailx-imap": "^0.1.100",
122
122
  "@bobfrankston/mailx-store-web": "^0.1.27",
123
123
  "@bobfrankston/mailx-sync": "^0.1.22",
124
124
  "@bobfrankston/miscinfo": "^1.0.13",
125
125
  "@bobfrankston/msger": "^0.1.387",
126
126
  "@bobfrankston/node-tcp-transport": "^0.1.10",
127
127
  "@bobfrankston/oauthsupport": "^1.0.32",
128
- "@bobfrankston/rmf-tiny": "^0.1.33",
128
+ "@bobfrankston/rmf-tiny": "^0.1.34",
129
129
  "@bobfrankston/smtp-direct": "^0.1.9",
130
130
  "@bobfrankston/tcp-transport": "^0.1.7",
131
131
  "@capacitor/android": "^8.3.0",