mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 10:00:48 +08:00
🎨 搜索内容保存
This commit is contained in:
parent
2ff96ae614
commit
5a6c28b0cd
@ -87,6 +87,7 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
|
|||||||
});
|
});
|
||||||
dialog.element.setAttribute("data-key", hotkey);
|
dialog.element.setAttribute("data-key", hotkey);
|
||||||
const edit = genSearch({
|
const edit = genSearch({
|
||||||
|
removed: localData.removed,
|
||||||
k: key || localData.k,
|
k: key || localData.k,
|
||||||
r: localData.r,
|
r: localData.r,
|
||||||
hasReplace: hotkey === window.siyuan.config.keymap.general.replace.custom,
|
hasReplace: hotkey === window.siyuan.config.keymap.general.replace.custom,
|
||||||
|
@ -65,7 +65,8 @@ export const openGlobalSearch = (text: string, replace: boolean) => {
|
|||||||
idPath: [],
|
idPath: [],
|
||||||
group: localData.group,
|
group: localData.group,
|
||||||
sort: localData.sort,
|
sort: localData.sort,
|
||||||
types: localData.types
|
types: localData.types,
|
||||||
|
removed: localData.removed
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tab.addModel(asset);
|
tab.addModel(asset);
|
||||||
|
Loading…
Reference in New Issue
Block a user