mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-11-01 08:21:22 +00:00
Call editor writehandler on keydown instead of keyup
This commit is contained in:
parent
f90fd78507
commit
38f3bfd6e5
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user