Open
Description
CodeEditorModule
is marked as deprecated even though CodeEditorModule
is still needed for the code editor to work.
I believe the intention was to deprecate the forRoot()
method instead:
CodeEditorModule.forRoot({
typingsWorkerUrl: 'assets/workers/typings-worker.js',
baseUrl: 'assets/monaco'
})
so it can be replaced with
provideCodeEditor({
typingsWorkerUrl: 'assets/workers/typings-worker.js',
baseUrl: 'assets/monaco'
})
while simultaneously maintaining the import of CodeEditorModule
without the forRoot()
method.
Metadata
Metadata
Assignees
Labels
No labels