We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 546d547 commit 3036778Copy full SHA for 3036778
ui/src/components/inputs/Editor.vue
@@ -97,6 +97,7 @@
97
schemaType: {type: String, default: undefined},
98
navbar: {type: Boolean, default: true},
99
input: {type: Boolean, default: false},
100
+ keepFocused: {type: Boolean, default: undefined},
101
fullHeight: {type: Boolean, default: true},
102
customHeight: {type: Number, default: 7},
103
theme: {type: String, default: undefined},
@@ -324,7 +325,7 @@
324
325
326
// TabFocus is global to all editor so revert the behavior on non inputs
327
this.editor.onDidFocusEditorText?.(() => {
- TabFocus.setTabFocusMode(this.input);
328
+ TabFocus.setTabFocusMode(this.keepFocused === undefined ? this.input : false);
329
});
330
331
if (this.input) {
0 commit comments