mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:11:32 +00:00
Fix syntax highlighting error
This commit is contained in:
parent
62e0a99478
commit
0019683b21
@ -94,6 +94,7 @@ export class IdeComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
this.code = (message.content != null) ? message.content : this.code;
|
this.code = (message.content != null) ? message.content : this.code;
|
||||||
this.files = message.files;
|
this.files = message.files;
|
||||||
|
this.autoDetectEditorLanguage(this.filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,7 +142,6 @@ export class IdeComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
this.filename = file;
|
this.filename = file;
|
||||||
this.requestCode();
|
this.requestCode();
|
||||||
this.autoDetectEditorLanguage(this.filename);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
editorWriteHandler() {
|
editorWriteHandler() {
|
||||||
|
Loading…
Reference in New Issue
Block a user