From 434d54618098e28fa6623ae2a6c9771b7cf0ab01 Mon Sep 17 00:00:00 2001 From: ShlomoCode <78599753+ShlomoCode@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:42:12 +0200 Subject: [PATCH] feat: focus editor when opened --- 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 56d34065..e67f7395 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() {