import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import plugins from 'suneditor/src/plugins'; import { NgxSuneditorModule } from '../../projects/ngx-suneditor/src/public-api'; import { AppComponent } from './app.component'; @NgModule({ declarations: [AppComponent], imports: [ BrowserModule, NgxSuneditorModule.forRoot({ plugins: plugins, minWidth: '100%', height: '70vh', buttonList: [ ['undo', 'redo'], ['font', 'fontSize', 'formatBlock'], ['paragraphStyle', 'blockquote'], ['bold', 'underline', 'italic', 'strike', 'subscript', 'superscript'], ['fontColor', 'hiliteColor', 'textStyle'], ['removeFormat'], ['outdent', 'indent'], ['align', 'horizontalRule', 'list', 'lineHeight'], ['table', 'link', 'image', 'video', 'audio'], ['fullScreen', 'showBlocks', 'codeView'], ['preview', 'print'], ['save'], ], }), ], providers: [], bootstrap: [AppComponent], }) export class AppModule {}