@bobfrankston/rmfmail 1.1.96 → 1.1.97
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/.commitmsg +13 -13
- package/client/app.bundle.js +4 -1
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +10 -1
- package/client/app.js.map +1 -1
- package/client/app.ts +9 -1
- package/client/compose/compose.bundle.js +4 -0
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/lib/rmf-tiny.js +9 -0
- package/docs/rmf-tiny.md +31 -2
- package/npmchanges.md +18 -0
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-89052 → node_modules.npmglobalize-stash-26080}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
Reply scrolls to top; Ctrl+A no longer hijacked in text fields
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
- Reply/forward: setCursor(0) now scrolls the editor viewport to the top
|
|
4
|
+
(editor.getWin().scrollTo(0,0)), so the caret above the quoted block is
|
|
5
|
+
the line you're looking at instead of being left scrolled down inside
|
|
6
|
+
the quote.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
- Ctrl+A: the message-list select-all guard used `.closest(".message-list,
|
|
9
|
+
.ml-body, body)` — `body` always matches, so Ctrl+A in the search box
|
|
10
|
+
(or any input) selected every message instead of the box's text. Now it
|
|
11
|
+
returns early when focus is in an INPUT/TEXTAREA/SELECT/contenteditable,
|
|
12
|
+
so Ctrl+A selects (and lets you clear) the search field normally.
|
|
13
|
+
|
|
14
|
+
- docs/rmf-tiny.md: marked implemented; added a running "Known TinyMCE
|
|
15
|
+
quirks" log (caret/scroll, link-extend, spellcheck, <p>-to-<br>).
|
package/client/app.bundle.js
CHANGED
|
@@ -8647,8 +8647,11 @@ document.addEventListener("keydown", (e) => {
|
|
|
8647
8647
|
applyFontSize(next);
|
|
8648
8648
|
}
|
|
8649
8649
|
if (e.ctrlKey && e.key === "a") {
|
|
8650
|
+
const t = e.target;
|
|
8651
|
+
const tag = t?.tagName;
|
|
8652
|
+
if (tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT" || t?.isContentEditable) return;
|
|
8650
8653
|
const mlBody = document.getElementById("ml-body");
|
|
8651
|
-
if (mlBody
|
|
8654
|
+
if (mlBody) {
|
|
8652
8655
|
e.preventDefault();
|
|
8653
8656
|
mlBody.querySelectorAll(".ml-row").forEach((r) => r.classList.add("selected"));
|
|
8654
8657
|
}
|