diff --git a/src/components/Table/useMenuAction.tsx b/src/components/Table/useMenuAction.tsx index 4cc202779..508dfd25b 100644 --- a/src/components/Table/useMenuAction.tsx +++ b/src/components/Table/useMenuAction.tsx @@ -62,6 +62,7 @@ export const SUPPORTED_TYPES_COPY = new Set([ // CONNECTION FieldType.reference, FieldType.id, + FieldType.arraySubTable, ]); export const SUPPORTED_TYPES_PASTE = new Set([ @@ -83,6 +84,7 @@ export const SUPPORTED_TYPES_PASTE = new Set([ FieldType.markdown, // CONNECTION FieldType.reference, + FieldType.arraySubTable, ]); export function useMenuAction( @@ -217,7 +219,7 @@ export function useMenuAction( } break; default: - parsed = JSON.parse(text); + parsed = JSON.parse(JSON.stringify(text); break; }