[editor] Add section duplication
The duplication is done by creating a new element (UnitUIElement) for each element of the copied object. And then overwriting it with the props of the old one, in addition to assigning a new ID.
Showing
- projects/editor/src/app/UnitFactory.ts 1 addition, 1 deletionprojects/editor/src/app/UnitFactory.ts
- projects/editor/src/app/components/unit-view/page-view/canvas/page-canvas.component.html 2 additions, 1 deletion...nts/unit-view/page-view/canvas/page-canvas.component.html
- projects/editor/src/app/components/unit-view/page-view/canvas/section-menu.component.ts 12 additions, 0 deletions...ents/unit-view/page-view/canvas/section-menu.component.ts
- projects/editor/src/app/unit.service.ts 12 additions, 0 deletionsprojects/editor/src/app/unit.service.ts
Please register or sign in to comment