Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15143

Vanessaee957ff9e2f8
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index bb720d3f41..e46b611ff9 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -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);