@bobfrankston/rmfmail 1.1.202 → 1.1.204
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 +5 -1
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +10 -2
- package/client/app.js.map +1 -1
- package/client/app.ts +10 -2
- package/client/compose/compose.bundle.js +100 -25
- package/client/compose/compose.bundle.js.map +3 -3
- package/client/lib/rmf-tiny.js +121 -25
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-14408 → node_modules.npmglobalize-stash-41028}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -9199,7 +9199,11 @@ document.addEventListener("keydown", (e) => {
|
|
|
9199
9199
|
deleteSelection();
|
|
9200
9200
|
}
|
|
9201
9201
|
if (e.ctrlKey && e.key === "z") {
|
|
9202
|
-
|
|
9202
|
+
const t = e.target;
|
|
9203
|
+
const tag = t?.tagName;
|
|
9204
|
+
const inEditable = tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT" || !!t?.isContentEditable;
|
|
9205
|
+
const composeOpen = !!document.querySelector(".compose-overlay");
|
|
9206
|
+
if (!inEditable && !composeOpen && undoStack.length > 0) {
|
|
9203
9207
|
e.preventDefault();
|
|
9204
9208
|
performUndo();
|
|
9205
9209
|
}
|