mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 05:01:56 +00:00
Make mode binding one-way
It is only updated one-way, so the binding shouldn't be two-way.
This commit is contained in:
parent
8e5f402519
commit
c88fd8c3b8
@ -12,7 +12,7 @@
|
|||||||
<div (textChanged)="setButtonStateDirty()"
|
<div (textChanged)="setButtonStateDirty()"
|
||||||
ace-editor
|
ace-editor
|
||||||
[(text)]="code"
|
[(text)]="code"
|
||||||
[(mode)]="language"
|
[mode]="language"
|
||||||
[theme]="theme"
|
[theme]="theme"
|
||||||
class="tfw-ace-editor"
|
class="tfw-ace-editor"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user