diff --git a/projects/editor/src/app/services/unit.service.ts b/projects/editor/src/app/services/unit.service.ts index 2c15e4f3fc168eae2aeb144a3bfa207206ed997b..d937c8792f7f40866be9f38259b4d24fbd23ffe5 100644 --- a/projects/editor/src/app/services/unit.service.ts +++ b/projects/editor/src/app/services/unit.service.ts @@ -133,7 +133,7 @@ export class UnitService { newElement = ElementFactory.createElement({ type: elementType, id: this.idService.getNewID(elementType), - positionProps: { + position: { dynamicPositioning: section.dynamicPositioning } } as unknown as UIElement) as PositionedElement;