feat: focus editor when opened (#2946)
This commit is contained in:
parent
ff9502ff34
commit
b19710efca
1 changed files with 2 additions and 0 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue