mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 22:52:34 +01:00
🚨
This commit is contained in:
parent
dea6ecd5b9
commit
98a096551a
3 changed files with 11 additions and 11 deletions
|
|
@ -588,7 +588,7 @@ const fileTreeKeydown = (app: App, event: KeyboardEvent) => {
|
|||
if (item.getAttribute("data-type") === "navigation-file") {
|
||||
ids.push(item.getAttribute("data-node-id"));
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
if (matchHotKey(window.siyuan.config.keymap.editor.general.spaceRepetition.custom, event) && !window.siyuan.config.readonly) {
|
||||
if (isFile) {
|
||||
|
|
@ -663,7 +663,7 @@ const fileTreeKeydown = (app: App, event: KeyboardEvent) => {
|
|||
fetchPost("/api/filetree/duplicateDoc", {
|
||||
id: item,
|
||||
});
|
||||
})
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue