@elementor/editor-elements 3.33.0-237 → 3.33.0-238

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,6 @@ export const duplicateElements = ( {
33
33
  elementIds,
34
34
  title,
35
35
  subtitle = __( 'Item duplicated', 'elementor' ),
36
- onCreate,
37
36
  }: DuplicateElementsParams ): DuplicatedElementsResult => {
38
37
  const undoableDuplicate = undoable(
39
38
  {
@@ -60,8 +59,6 @@ export const duplicateElements = ( {
60
59
  return acc;
61
60
  }, [] as DuplicatedElement[] );
62
61
 
63
- onCreate?.( duplicatedElements );
64
-
65
62
  return { duplicatedElements };
66
63
  },
67
64
  undo: ( _: { elementIds: string[] }, { duplicatedElements }: DuplicatedElementsResult ) => {
@@ -102,8 +99,6 @@ export const duplicateElements = ( {
102
99
  return acc;
103
100
  }, [] as DuplicatedElement[] );
104
101
 
105
- onCreate?.( duplicatedElements );
106
-
107
102
  return { duplicatedElements };
108
103
  },
109
104
  },