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/pull/13927
Vanessa2ea36de32ced
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex a99cd7ec8f..9a8da13928 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -234,15 +234,19 @@ export const pasteText = async (protyle: IProtyle, textPlain: string, nodeElemenconst emitResult = protyle.app.plugins[i].eventBus.emit("paste", {protyle,resolve,- textHTML: "",- textPlain: textPlain,- siyuanHTML: "",+ textHTML: textPlain,+ textPlain,+ siyuanHTML: textPlain,files: []});if (emitResult) {resolve(undefined);}});++ if (response?.textPlain) {+ textPlain = response.textPlain;+ }}}