fix: custom find/replace UI for SQL editor (Ctrl+F)

Closes #352
This commit is contained in:
t8y2 committed 2026-05-20 13:32:23 +08:00
1 parent 65ce48b0dc
commit 62af348a01
5 files changed
+261 -4

No files matched your search

-1
View File
@@ -537,7 +537,6 @@ function handleKeydown(e: KeyboardEvent) {
const shortcuts = settingsStore.editorSettings.shortcuts;
if (isFocusSearchShortcut(e, shortcuts)) {
if (activeTab.value?.mode === "query") return;
const focused = contentAreaRef.value?.focusSearch() || appSidebarRef.value?.focusSearch();
if (focused) {
e.preventDefault();