refboard: restore clipboard copy and native paste flows

This commit is contained in:
Hiren Kangad
2026-03-13 15:30:23 +05:30
parent e9e0c25491
commit 3dd110f491
4 changed files with 7 additions and 5 deletions
+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