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/16759
Vanessacc79d39c7bd2
diff --git a/app/src/block/util.ts b/app/src/block/util.tsindex c45fc20b20..34157b0b69 100644--- a/app/src/block/util.ts+++ b/app/src/block/util.ts@@ -132,7 +132,7 @@ export const insertEmptyBlock = (protyle: IProtyle, position: InsertPosition, id// https://github.com/siyuan-note/siyuan/issues/14720#issuecomment-2840665326if (blockElement.classList.contains("list")) {blockElement = hasClosestByClassName(range.startContainer, "li") as HTMLElement;- } else if (blockElement.classList.contains("bq")) {+ } else if (blockElement.classList.contains("bq") || blockElement.classList.contains("callout")) {blockElement = hasClosestBlock(range.startContainer) as HTMLElement;}}