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
Vanessa50f123dfc123
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex 86d411d707..392052280c 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -573,7 +573,9 @@ export class Outline extends Model {} else {let previousElement = getPreviousBlock(nodeElement);while (previousElement) {- if (previousElement.getAttribute("data-type") === "NodeHeading") {+ if (previousElement.getAttribute("data-type") === "NodeHeading" &&+ !previousElement.parentElement.classList.contains("bq") &&+ !previousElement.parentElement.classList.contains("callout-content")) {break;} else {previousElement = getPreviousBlock(previousElement);