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/17892
Daniel1b45d3864d08
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex 46069c6afa..9f3e3dd2cd 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -178,7 +178,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang!item.classList.contains("protyle-attr"));if (topParentElement.classList.contains("li") && liSubList && !liHasContent) {const emptyID = Lute.NewNodeID();- const emptyElement = genEmptyElement(false, true, emptyID);+ const emptyElement = genEmptyElement(false, false, emptyID);// 空段落插到列表标记之后、子列表之前,与服务端 doInsert 通过 nextID 定位的位置一致liChildren.find(item => item.classList.contains("protyle-action"))?.after(emptyElement);deletes.push({