1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-14 23:18:21 +00:00

fix: update the z-index of search button mainly for yaml mode (#28878)

This commit is contained in:
Pegasus
2026-01-13 07:41:53 -05:00
committed by GitHub
parent 1975265e6b
commit 57a586c3a7
2 changed files with 6 additions and 1 deletions

View File

@@ -255,6 +255,7 @@ export class HaCodeEditor extends ReactiveElement {
...this._loadedCodeMirror.tabKeyBindings,
saveKeyBinding,
]),
this._loadedCodeMirror.search({ top: true }),
this._loadedCodeMirror.langCompartment.of(this._mode),
this._loadedCodeMirror.haTheme,
this._loadedCodeMirror.haSyntaxHighlighting,

View File

@@ -15,7 +15,11 @@ import { tags } from "@lezer/highlight";
export { autocompletion } from "@codemirror/autocomplete";
export { defaultKeymap, history, historyKeymap } from "@codemirror/commands";
export { highlightingFor, foldGutter } from "@codemirror/language";
export { highlightSelectionMatches, searchKeymap } from "@codemirror/search";
export {
highlightSelectionMatches,
search,
searchKeymap,
} from "@codemirror/search";
export { EditorState } from "@codemirror/state";
export {
crosshairCursor,