feat: add page up/down hotkeys for quick bookmark input

This commit is contained in:
Lukas
2026-03-22 13:05:48 +01:00
parent 013cc175a6
commit 252ebf962d
2 changed files with 7 additions and 0 deletions

View File

@@ -1057,6 +1057,12 @@ document.addEventListener('keydown', (e: KeyboardEvent) => {
e.preventDefault();
redo();
}
} else if (e.key === 'PageUp') {
e.preventDefault();
prevPageBtn?.click();
} else if (e.key === 'PageDown') {
e.preventDefault();
nextPageBtn?.click();
}
});