diff --git a/packages/builder/src/builderStore/store/frontend.js b/packages/builder/src/builderStore/store/frontend.js index 340e2829aa..64fefbcd10 100644 --- a/packages/builder/src/builderStore/store/frontend.js +++ b/packages/builder/src/builderStore/store/frontend.js @@ -416,7 +416,14 @@ export const getFrontendStore = () => { if (cut) { state.componentToPaste = null } else { - componentToPaste._id = uuid() + const randomizeIds = component => { + if (!component) { + return + } + component._id = uuid() + component.children?.forEach(randomizeIds) + } + randomizeIds(componentToPaste) } if (mode === "inside") {