mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
35d60162d1
commit
ee957ff9e2
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
scrollCenter(protyle, previousElement);
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
} else if (foldElement && foldElement.getAttribute("data-type") !== "NodeListItem") {
|
||||
} else if (foldElement) {
|
||||
// 遇到折叠块
|
||||
foldElement.scrollTop = 0;
|
||||
focusBlock(foldElement, undefined, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue