Skip to content

Commit

Permalink
feat: focus editor when opened (#2946)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShlomoCode committed Jan 30, 2024
1 parent ff9502f commit b19710e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/views/files/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export default {
if (theme == "dark") {
this.editor.setTheme("ace/theme/twilight");
}
this.editor.focus();
},
methods: {
back() {
Expand Down

0 comments on commit b19710e

Please sign in to comment.