From b19710efca6daa7af56dc211d0051d500d2eea22 Mon Sep 17 00:00:00 2001 From: Shlomo <78599753+ShlomoCode@users.noreply.github.com> Date: Tue, 30 Jan 2024 11:44:20 +0200 Subject: [PATCH] feat: focus editor when opened (#2946) --- frontend/src/views/files/Editor.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/views/files/Editor.vue b/frontend/src/views/files/Editor.vue index 7b8aace3..cd1e23cd 100644 --- a/frontend/src/views/files/Editor.vue +++ b/frontend/src/views/files/Editor.vue @@ -103,6 +103,8 @@ export default { if (theme == "dark") { this.editor.setTheme("ace/theme/twilight"); } + + this.editor.focus(); }, methods: { back() {