feat: focus editor when opened (#2946)
parent
ff9502ff34
commit
b19710efca
|
@ -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 New Issue