mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 12:50:16 +01:00
This commit is contained in:
parent
8f6336d848
commit
e0cc6ef05b
3 changed files with 11 additions and 15 deletions
|
|
@ -657,12 +657,6 @@ const fileTreeKeydown = (app: App, event: KeyboardEvent) => {
|
|||
hasClosestByClassName(target, "protyle", true)) {
|
||||
return false;
|
||||
}
|
||||
if (!window.siyuan.menus.menu.element.classList.contains("fn__none") &&
|
||||
(event.code.startsWith("Arrow") || event.code === "Enter") &&
|
||||
!event.altKey && !event.shiftKey && isNotCtrl(event)) {
|
||||
event.preventDefault();
|
||||
return true;
|
||||
}
|
||||
if (event.shiftKey) {
|
||||
if (event.key === "ArrowUp") {
|
||||
const startEndElement = getStartEndElement(liElements);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue