添加富文本插件

This commit is contained in:
Taric Xin
2021-12-01 10:58:24 +08:00
parent b1814a722f
commit b88e313785
166 changed files with 145881 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { STWidgetRegistry } from '@delon/abc/st';
import { DelonFormModule } from '@delon/form';
import { DelonFormModule, WidgetRegistry } from '@delon/form';
import { AddressModule, EditorModule, FileManagerModule } from '@shared';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
@ -58,7 +58,7 @@ export const STWIDGET_COMPONENTS = [
entryComponents: STWIDGET_COMPONENTS
})
export class STWidgetModule {
constructor(widgetRegistry: STWidgetRegistry) {
constructor(widgetRegistry: WidgetRegistry) {
widgetRegistry.register(EditorWidget.KEY, EditorWidget);
widgetRegistry.register(ImgWidget.KEY, ImgWidget);
widgetRegistry.register(AddressWidget.KEY, AddressWidget);