feat: copy and paste fields (#1193)

Adds keyboard shortcuts for copying and pasting fields, additionally adds the ability
to duplicate a field via the UI.
This commit is contained in:
Ephraim Duncan
2024-08-20 03:32:53 +00:00
committed by GitHub
parent 025e73e640
commit 06c0a50401
12 changed files with 158 additions and 65 deletions

View File

@ -121,9 +121,10 @@ export function SinglePlayerModeSignatureField({
) : (
<button
onClick={() => onClick?.()}
className={
cn('group-hover:text-primary absolute inset-0 h-full w-full duration-200', fontCaveat.className)
}
className={cn(
'group-hover:text-primary absolute inset-0 h-full w-full duration-200',
fontCaveat.className,
)}
>
<span className="text-muted-foreground truncate text-3xl font-medium ">Signature</span>
</button>