What's Changed
Code Editor is now a standalone component
You can use
import { provideCodeEditor } from '@ngstack/code-editor';
@NgModule({
providers: [
provideCodeEditor({
editorVersion: '0.44.0'
})
]
})
export class AppModule {}
or register the component providers directly in the standalone app:
export const appConfig: ApplicationConfig = {
providers: [
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes),
provideAnimationsAsync(),
// Configure Code Editor
provideCodeEditor({
// editorVersion: '0.46.0',
// use local Monaco installation
baseUrl: 'assets/monaco',
// use local Typings Worker
typingsWorkerUrl: 'assets/workers/typings-worker.js'
})
]
};
- cleanup project by @DenysVuika in #1501
- standalone editor component by @DenysVuika in #1502
- security updates for 3rd party dependencies
Full Changelog: v.8.0.0...v.9.0.0