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/7607
Vanessa755ad603fc2b
diff --git a/app/src/protyle/upload/index.ts b/app/src/protyle/upload/index.tsindex 70a18b92b4..3f7ab60c26 100644--- a/app/src/protyle/upload/index.ts+++ b/app/src/protyle/upload/index.ts@@ -115,7 +115,8 @@ const genUploadedLabel = (responseText: string, protyle: IProtyle) => {range.setEndAfter(range.startContainer.parentElement);range.collapse(false);}- insertHTML(succFileText, protyle);+ // 避免插入代码块中,其次因为都要独立成块 https://github.com/siyuan-note/siyuan/issues/7607+ insertHTML(succFileText, protyle, true);};export const uploadLocalFiles = (files: string[], protyle: IProtyle, isUpload: boolean) => {