Skip to content

Conversation

loetscher
Copy link

I'm loading the ngx-monaco-editor under different root paths.
Therefore I have to configure the lib as follows:
const monacoConfig: NgxMonacoEditorConfig = { baseUrl: './assets', };
It would be nice if the default configuration in the base-editor.ts could use a relative path instead the absolut one:
const baseUrl = this.config.baseUrl || '/assets';
This way I could get rid of the configuration and use ngx-monaco-editor as is.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants