FIX: Can cut and paste in Custom Format Dialog

Fixes #240

It is a pity we have to do this. There probably is a better way
This commit is contained in:
Nicolás Hatcher
2025-01-19 22:26:04 +01:00
committed by Nicolás Hatcher Andrés
parent 69ca1f178c
commit 3a001d96b8

View File

@@ -66,6 +66,9 @@ const FormatPicker = (properties: FormatPickerProps) => {
spellCheck="false" spellCheck="false"
onClick={(event) => event.stopPropagation()} onClick={(event) => event.stopPropagation()}
onFocus={(event) => event.target.select()} onFocus={(event) => event.target.select()}
onPaste={(event) => event.stopPropagation()}
onCopy={(event) => event.stopPropagation()}
onCut={(event) => event.stopPropagation()}
/> />
</StyledDialogContent> </StyledDialogContent>
<DialogFooter> <DialogFooter>