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

Vanessa7e283e1cae28
diff --git a/app/src/protyle/wysiwyg/renderBacklink.ts b/app/src/protyle/wysiwyg/renderBacklink.ts
index a86cabb30f..f4cd1b9193 100644
--- a/app/src/protyle/wysiwyg/renderBacklink.ts
+++ b/app/src/protyle/wysiwyg/renderBacklink.ts
@@ -31,7 +31,7 @@ export const renderBacklink = (protyle: IProtyle, backlinkData: {
export const foldPassiveType = (expand: boolean, element: HTMLElement | DocumentFragment) => {
if (element.firstElementChild.classList.contains("li")) {
if (expand) {
- element.querySelectorAll(".li .li .li").forEach(item => {
+ element.querySelectorAll(".li .li").forEach(item => {
if (item.childElementCount > 3) {
item.setAttribute("fold", "1");
}