Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

360
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda