Hi!
Has anybody an Idea how to use the Monaco Editor inside of an Angular2 Application??
I can't figure it out how to import the Editor using SystemJS! >.<
Like "import { monaco } from 'monaco-editor/monaco'" or something similar..
Many thanks for every hint or idea!
I would like to know this as well - a simple way to use this editor in a modern Typescript application would be prudent.
see Matthias247 answer here: https://github.com/Microsoft/monaco-editor/issues/18#issuecomment-231788869
That's acceptable for Angular, I suppose. I'm looking for something more generic; see this issue
I just created an npm package for an NG2 Monaco editor component: https://github.com/0plus1/ng2-monaco-editor it works and it's ugly. Please feel free to contribute, I will actively develop this component as it's being used in a project.
Being able to import monaco into an Angular application would be incredibly helpful instead of having to use the workaround suggested in issue #18 . Will this feature make it into v0.9.0?
There is an angular wrapper at https://github.com/atularen/ngx-monaco-editor
Most helpful comment
Being able to import monaco into an Angular application would be incredibly helpful instead of having to use the workaround suggested in issue #18 . Will this feature make it into v0.9.0?