refboard: restore clipboard copy and native paste flows

This commit is contained in:
Hiren Kangad committed 2026-03-13 15:30:23 +05:30
1 parent e9e0c25491
commit 3dd110f491
4 files changed
+7 -5

No files matched your search

+3 -1
View File
@@ -141,7 +141,9 @@ export function useShortcutHandler(deps: ShortcutHandlerDeps) {
if (def.needsSelection && activeCount === 0) continue;
if (def.minSelection && activeCount < def.minSelection) continue;
e.preventDefault();
if (def.preventDefault !== false) {
e.preventDefault();
}
await def.handler(ctx);
// Update zoom display after any action