mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-15 14:49:51 +00:00
Restore previous codemirror tab behavior (#8461)
* Restore previous tab behavior * Handle via ondemand logic * Combine imports
This commit is contained in:
@@ -131,7 +131,14 @@ export class HaCodeEditor extends UpdatingElement {
|
||||
loaded.lineNumbers(),
|
||||
loaded.keymap.of([
|
||||
...loaded.defaultKeymap,
|
||||
loaded.defaultTabBinding,
|
||||
{
|
||||
key: "Tab",
|
||||
run: loaded.indentMore,
|
||||
},
|
||||
{
|
||||
key: "Shift-Tab",
|
||||
run: loaded.indentLess,
|
||||
},
|
||||
saveKeyBinding,
|
||||
]),
|
||||
loaded.tagExtension(modeTag, this._mode),
|
||||
|
Reference in New Issue
Block a user