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://ld246.com/article/1699927235320
Vanessa9485a05e51b5
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex 4d575e5913..44dfdcf562 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -39,7 +39,12 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEleconst copyElement = hasClosestByAttribute(event.target, "data-type", "copy");if (copyElement) {- writeText(copyElement.previousElementSibling.textContent.trim());+ const textElement = copyElement.previousElementSibling+ if (textElement.querySelector(".av__cellicon")) {+ writeText(`${textElement.firstChild.textContent} ➡️ ${textElement.lastChild.textContent}`);+ } else {+ writeText(textElement.textContent);+ }showMessage(window.siyuan.languages.copied);event.preventDefault();event.stopPropagation();