proper use of tab
This commit is contained in:
1 parent
c996bee932
commit
7abea94196
2 files changed
+15
-1
No files matched your search
@@ -165,7 +165,7 @@ const CodeEditor = forwardRef(
|
||||
|
||||
return [
|
||||
history(),
|
||||
keymap.of([...defaultKeymap, customKeymap, foldKeymap, ...searchKeymap]),
|
||||
|
||||
updateListener,
|
||||
EditorView.lineWrapping,
|
||||
scrollPastEnd(),
|
||||
@@ -186,6 +186,8 @@ const CodeEditor = forwardRef(
|
||||
themeCompartment.of(themeExtension),
|
||||
...(tab !== 'brewStyles' ? [autocompleteEmoji] : []),
|
||||
search(),
|
||||
keymap.of([...defaultKeymap, foldKeymap, ...searchKeymap]),
|
||||
customKeymap
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user