An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/17155
Vanessa7e0e31a7d9e3
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex 392052280c..f263ee884d 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -567,15 +567,15 @@ export class Outline extends Model {return;}if (nodeElement.getAttribute("data-type") === "NodeHeading" &&- !nodeElement.parentElement.classList.contains("bq") &&- !nodeElement.parentElement.classList.contains("callout-content")) {+ !hasClosestByClassName(nodeElement, "bq") &&+ !hasClosestByClassName(nodeElement, "callout-content")) {this.setCurrentById(nodeElement.getAttribute("data-node-id"));} else {let previousElement = getPreviousBlock(nodeElement);while (previousElement) {if (previousElement.getAttribute("data-type") === "NodeHeading" &&- !previousElement.parentElement.classList.contains("bq") &&- !previousElement.parentElement.classList.contains("callout-content")) {+ !hasClosestByClassName(previousElement, "bq") &&+ !hasClosestByClassName(previousElement, "callout-content")) {break;} else {previousElement = getPreviousBlock(previousElement);