[editor] Fix template insert
The selected section is replaced with the new section when empty. Otherwise the new section is appended below the selected section. There is no way to influence this behaviour (contrary the section-insert-dialog).
Showing
- projects/common/models/page.ts 4 additions, 0 deletionsprojects/common/models/page.ts
- projects/common/models/section.ts 4 additions, 0 deletionsprojects/common/models/section.ts
- projects/editor/src/app/services/template.service.ts 14 additions, 3 deletionsprojects/editor/src/app/services/template.service.ts
Loading
Please register or sign in to comment