@bobfrankston/rmfmail 1.2.97 → 1.2.98
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
CHANGED
|
@@ -2622,7 +2622,12 @@ ${csp}
|
|
|
2622
2622
|
var k = (e.key || "").toLowerCase();
|
|
2623
2623
|
var isShortcut = e.ctrlKey && !e.altKey && !e.metaKey && (
|
|
2624
2624
|
k === "r" || k === "f" || k === "n" || k === "a" || k === "d" ||
|
|
2625
|
-
k === "z" || k === "y" || k === "k"
|
|
2625
|
+
k === "z" || k === "y" || k === "k" ||
|
|
2626
|
+
// Ctrl+P: without this suppress, WebView2's native print fires on
|
|
2627
|
+
// the iframe's default and prints the WHOLE APP window instead of
|
|
2628
|
+
// the letter (Bob 2026-07-02). The forwarded event reaches app.ts,
|
|
2629
|
+
// which runs printCurrentMessage (letter + header block).
|
|
2630
|
+
k === "p"
|
|
2626
2631
|
);
|
|
2627
2632
|
if (isShortcut) e.preventDefault();
|
|
2628
2633
|
window.parent.postMessage({
|