添加富文本插件
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user