feat: focus editor when opened (#2946)

This commit is contained in:
Shlomo 2024-01-30 11:44:20 +02:00 committed by GitHub
parent ff9502ff34
commit b19710efca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,6 +103,8 @@ export default {
if (theme == "dark") { if (theme == "dark") {
this.editor.setTheme("ace/theme/twilight"); this.editor.setTheme("ace/theme/twilight");
} }
this.editor.focus();
}, },
methods: { methods: {
back() { back() {