mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 01:50:58 +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);
|
||||
const edit = genSearch({
|
||||
removed: localData.removed,
|
||||
k: key || localData.k,
|
||||
r: localData.r,
|
||||
hasReplace: hotkey === window.siyuan.config.keymap.general.replace.custom,
|
||||
|
@ -65,7 +65,8 @@ export const openGlobalSearch = (text: string, replace: boolean) => {
|
||||
idPath: [],
|
||||
group: localData.group,
|
||||
sort: localData.sort,
|
||||
types: localData.types
|
||||
types: localData.types,
|
||||
removed: localData.removed
|
||||
}
|
||||
});
|
||||
tab.addModel(asset);
|
||||
|
Loading…
Reference in New Issue
Block a user