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/16936

Vanessaf968a683c8ae
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 0ec36d62f7..5cdf2ae8dc 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -2355,8 +2355,8 @@ export class WYSIWYG {
});
} else if (event.deltaY > 0 && protyle.wysiwyg.element.lastElementChild.getAttribute("data-eof") !== "2") {
fetchPost("/api/filetree/getDoc", {
- id: protyle.wysiwyg.element.firstElementChild.getAttribute("data-node-id"),
- mode: 3,
+ id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"),
+ mode: 2,
size: window.siyuan.config.editor.dynamicLoadBlocks,
}, getResponse => {
preventGetTopHTML = false;