mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 12:22:54 +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:
		@@ -12,7 +12,7 @@
 | 
			
		||||
<div (textChanged)="setButtonStateDirty()"
 | 
			
		||||
  ace-editor
 | 
			
		||||
  [(text)]="code"
 | 
			
		||||
  [(mode)]="language"
 | 
			
		||||
  [mode]="language"
 | 
			
		||||
  [theme]="theme"
 | 
			
		||||
  class="tfw-ace-editor"
 | 
			
		||||
>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user