@bobfrankston/rmfmail 1.2.146 → 1.2.147
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/app.bundle.js +10 -2
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-viewer.js +15 -2
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +14 -2
- package/package.json +3 -3
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-44888 → node_modules.npmglobalize-stash-69320}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -1501,6 +1501,8 @@ function installPreviewControls(iframe) {
|
|
|
1501
1501
|
setZoom(1, doc);
|
|
1502
1502
|
return;
|
|
1503
1503
|
}
|
|
1504
|
+
if (e.ctrlKey && !e.altKey && !e.metaKey && (e.key === "a" || e.key === "A"))
|
|
1505
|
+
return;
|
|
1504
1506
|
const synth = new KeyboardEvent("keydown", {
|
|
1505
1507
|
key: e.key,
|
|
1506
1508
|
code: e.code,
|
|
@@ -2686,14 +2688,20 @@ ${csp}
|
|
|
2686
2688
|
if (t && (t.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName))) return;
|
|
2687
2689
|
// Zoom keys handled by parent-side installPreviewControls; don't double-send.
|
|
2688
2690
|
if (e.ctrlKey && (e.key === "=" || e.key === "+" || e.key === "-" || e.key === "0")) return;
|
|
2691
|
+
// Ctrl+A stays in the preview: native select-all on THIS document so
|
|
2692
|
+
// the letter text can be copied. Don't suppress, don't forward \u2014 the
|
|
2693
|
+
// list's select-all-rows must not fire while focus is in the preview
|
|
2694
|
+
// (Bob 2026-07-18). Mirrors the parent-side handler's early return.
|
|
2695
|
+
var klc = (e.key || "").toLowerCase();
|
|
2696
|
+
if (e.ctrlKey && !e.altKey && !e.metaKey && klc === "a") return;
|
|
2689
2697
|
// Preventing the iframe's default for keys we forward to the parent
|
|
2690
2698
|
// is essential \u2014 the parent's preventDefault on the synthetic
|
|
2691
2699
|
// keydown can't suppress the browser's reaction to the ORIGINAL
|
|
2692
2700
|
// event (Ctrl+R reload, Ctrl+F find, etc.). Suppress here so the
|
|
2693
2701
|
// browser doesn't act before the parent processes the action.
|
|
2694
|
-
var k =
|
|
2702
|
+
var k = klc;
|
|
2695
2703
|
var isShortcut = e.ctrlKey && !e.altKey && !e.metaKey && (
|
|
2696
|
-
k === "r" || k === "f" || k === "n" || k === "
|
|
2704
|
+
k === "r" || k === "f" || k === "n" || k === "d" ||
|
|
2697
2705
|
k === "z" || k === "y" || k === "k" ||
|
|
2698
2706
|
// Ctrl+P: without this suppress, WebView2's native print fires on
|
|
2699
2707
|
// the iframe's default and prints the WHOLE APP window instead of
|