An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/5746
Vanessa09ea73f4ff9b
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 3f80f6b10a..335edb4a56 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -345,7 +345,8 @@ export class WYSIWYG {setFold(protyle, headElement, undefined, true);} else {if ((headElement.parentElement.childElementCount === 3 && headElement.parentElement.classList.contains("li")) ||- (headElement.parentElement.childElementCount === 2 && (headElement.parentElement.classList.contains("bq") || headElement.parentElement.classList.contains("sb")))) {+ (headElement.parentElement.childElementCount === 2 && (headElement.parentElement.classList.contains("bq") || headElement.parentElement.classList.contains("sb"))) ||+ (headElement.parentElement.childElementCount === 1 && headElement.parentElement.classList.contains("protyle-wysiwyg"))) {// https://github.com/siyuan-note/siyuan/issues/4040const emptyId = Lute.NewNodeID();const emptyElement = genEmptyElement(false, false, emptyId);