Call editor writehandler on keydown instead of keyup

This commit is contained in:
Kristóf Tóth 2019-09-27 14:49:02 +02:00
parent f90fd78507
commit 38f3bfd6e5

View File

@ -36,6 +36,6 @@
<ngx-monaco-editor [(ngModel)]="code" <ngx-monaco-editor [(ngModel)]="code"
class="tfw-ide-editor" class="tfw-ide-editor"
(keyup)="editorWriteHandler()" (keydown)="editorWriteHandler()"
[options]="editorOptions" [options]="editorOptions"
></ngx-monaco-editor> ></ngx-monaco-editor>