Skip to content

Commit 2b5e5f3

Browse files
committed
Fix focus
1 parent f62714d commit 2b5e5f3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/components/InputArea.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export default {
7878
mounted: function () {
7979
this.code = this.value
8080
this.editor.setSize('100%', this.height)
81-
this.editor.focus()
8281
},
8382
methods: {
8483
updateCode (code) {

src/components/Toolbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
position: relative;
6060
}
6161
62-
#mp-editor-menu>li.divider {
62+
#mp-editor-menu>li .divider {
6363
display: inline-block;
6464
text-indent: -9999px;
6565
margin: 0 5px;

src/components/dialog-input-components/CodeMirror.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export default {
5555
}
5656
5757
this.editor.setSize('100%', this.param.editorSetting.height)
58-
this.editor.focus()
5958
},
6059
computed: {
6160
editor () {

0 commit comments

Comments
 (0)