@@ -12,7 +12,7 @@ import { Angulartics2Module } from "angulartics2";
12
12
import { AppComponent } from "./app/app.component" ;
13
13
import { AppRoutingModule } from "./app/app-routing.module" ;
14
14
import { ClipboardModule } from "@angular/cdk/clipboard" ;
15
- import { CodeEditorModule } from "@ngstack/code-editor" ;
15
+ import { provideCodeEditor } from "@ngstack/code-editor" ;
16
16
import { ConfigModule } from "./app/modules/config.module" ;
17
17
import { ConnectionsService } from "./app/services/connections.service" ;
18
18
import { CookieService } from "ngx-cookie-service" ;
@@ -76,13 +76,14 @@ if ((environment as any).saas) {
76
76
77
77
bootstrapApplication ( AppComponent , {
78
78
providers : [
79
- importProvidersFrom ( BrowserModule , AppRoutingModule , FormsModule , ReactiveFormsModule , RouterModule , DynamicModule , Angulartics2Module . forRoot ( ) , ClipboardModule , DragDropModule , MarkdownModule . forRoot ( ) , CodeEditorModule . forRoot ( {
80
- editorVersion : '0.44.0'
81
- } ) ,
79
+ importProvidersFrom ( BrowserModule , AppRoutingModule , FormsModule , ReactiveFormsModule , RouterModule , DynamicModule , Angulartics2Module . forRoot ( ) , ClipboardModule , DragDropModule , MarkdownModule . forRoot ( ) ,
82
80
// ...saasExtraModules,
83
81
NgxThemeModule . forRoot ( colorConfig , {
84
82
frameworks : [ 'material' ] , // optional, default : ['tailwind', 'material']
85
83
} ) , NgxStripeModule . forRoot ( stripeKey ) , ConfigModule . buildForConfigUrl ( '/config.json' ) ) ,
84
+ provideCodeEditor ( {
85
+ baseUrl : 'assets/monaco'
86
+ } ) ,
86
87
PasswordStrengthMeterComponent ,
87
88
ConnectionsService ,
88
89
UsersService ,
0 commit comments