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

@ -84,7 +84,7 @@ export function FieldContainerPortal({
left: `${coords.x}px`,
// height: `${coords.height}px`,
// width: `${coords.width}px`,
...((!isCheckboxOrRadioField) && {
...(!isCheckboxOrRadioField && {
height: `${coords.height}px`,
width: `${coords.width}px`,
}),