Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

355
Vistas
Monaco Editor with Angular 9 doesn't show up

I have been trying to setup monaco editor with Angular 9, using ngx-monaco-editor.

However, the editor doesn't show up. What am I doing wrong?

Here is the stackblitz link of what I am trying: https://stackblitz.com/edit/angular-ynznyg

I tried to follow the example from official example here: https://materia-ngx-monaco-editor-example-r7xdce.stackblitz.io

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You are doing fine, you just missed the content of both css files.

style.css:

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

app.component.css:

h1 {
  margin: 15px;
  color: darkblue;
  height: 37px;
}
ngx-monaco-editor {
  height: calc(100% - 100px);
  width: 100%;
  padding: 15px;
}

Here is the working version of your Stackblitz.

Note: You have linked only the result of the stackblitz, not the stackblitz itself. With this it is hard to find your code.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda