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/17571
Vanessa46a04cfa93a9
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 5e13b0b46e..9785e8e23b 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -461,7 +461,8 @@ export class WYSIWYG {textPlain = range.toString();} else if (selectImgElement) {html = selectImgElement.outerHTML;- textPlain = selectImgElement.querySelector("img").getAttribute("data-src");+ // 和图片菜单中的复制保持一致+ textPlain = protyle.lute.BlockDOM2StdMd(html).replace(/%20/g, " ");} else if (selectTypes.length > 0 && range.startContainer.nodeType === 3 &&range.startContainer.parentElement.tagName === "SPAN" &&range.startContainer.parentElement === range.endContainer.parentElement) {