fixed toc drag and drop on description template type editor

This commit is contained in:
Sofia Papacharalampous 2024-04-30 14:25:54 +03:00
parent 965af355d8
commit efeea398da
2 changed files with 726 additions and 346 deletions

View File

@ -32,6 +32,7 @@ import { ImportDescriptionTemplateDialogComponent } from './listing/import-descr
import { DescriptionTemplateEditorReferenceTypeFieldComponent } from './editor/components/field-type/reference-type/description-template-editor-reference-type-field.component'; import { DescriptionTemplateEditorReferenceTypeFieldComponent } from './editor/components/field-type/reference-type/description-template-editor-reference-type-field.component';
import { DescriptionFormModule } from '@app/ui/description/editor/description-form/description-form.module'; import { DescriptionFormModule } from '@app/ui/description/editor/description-form/description-form.module';
import { FinalPreviewComponent } from './editor/components/final-preview/final-preview.component'; import { FinalPreviewComponent } from './editor/components/final-preview/final-preview.component';
import { DragulaModule } from 'ng2-dragula';
@NgModule({ @NgModule({
imports: [ imports: [
@ -47,8 +48,8 @@ import { FinalPreviewComponent } from './editor/components/final-preview/final-p
UserSettingsModule, UserSettingsModule,
CommonFormattingModule, CommonFormattingModule,
RichTextEditorModule, RichTextEditorModule,
DescriptionFormModule,
DescriptionFormModule DragulaModule.forRoot(),
], ],
declarations: [ declarations: [
DescriptionTemplateEditorComponent, DescriptionTemplateEditorComponent,