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: fix https://github.com/siyuan-note/siyuan/issues/9058
Vanessa66048dc1bd70
diff --git a/app/src/protyle/upload/index.ts b/app/src/protyle/upload/index.tsindex 747a8dc7a4..11188297fb 100644--- a/app/src/protyle/upload/index.ts+++ b/app/src/protyle/upload/index.ts@@ -126,7 +126,9 @@ const genUploadedLabel = (responseText: string, protyle: IProtyle) => {succFileText += genAssetHTML(type, path, filename.substring(0, filename.length - type.length), filename);if (!Constants.SIYUAN_ASSETS_AUDIO.includes(type) && !Constants.SIYUAN_ASSETS_VIDEO.includes(type) &&keys.length - 1 !== index) {- if (insertBlock) {+ if (nodeElement && nodeElement.classList.contains("table")) {+ succFileText += "<br>";+ } else if (insertBlock) {succFileText += "\n\n";} else {succFileText += "\n";