Monaco-editor: import in Angular2 Appliaction

Created on 6 Jul 2016  路  6Comments  路  Source: microsoft/monaco-editor

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!

feature-request integration integration-angular

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?

All 6 comments

I would like to know this as well - a simple way to use this editor in a modern Typescript application would be prudent.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreymarchenko picture andreymarchenko  路  3Comments

Kang-Jun-sik picture Kang-Jun-sik  路  3Comments

Panhaiwei picture Panhaiwei  路  3Comments

fabiospampinato picture fabiospampinato  路  3Comments

robclive picture robclive  路  3Comments