mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 12:58:48 +01:00
This commit is contained in:
parent
0b1761f9b0
commit
2edf0c4c1d
1 changed files with 2 additions and 2 deletions
|
|
@ -1715,9 +1715,9 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
if (matchHotKey(window.siyuan.config.keymap.general.stickSearch.custom, event)) {
|
||||
if (getSelection().rangeCount > 0) {
|
||||
const range = getSelection().getRangeAt(0);
|
||||
openGlobalSearch(app, range.toString(), false);
|
||||
openGlobalSearch(app, range.toString(), true);
|
||||
} else {
|
||||
openGlobalSearch(app, "", false);
|
||||
openGlobalSearch(app, "", true);
|
||||
}
|
||||
event.preventDefault();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue