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/13271
Vanessa11316ea0b985
diff --git a/app/src/boot/globalEvent/click.ts b/app/src/boot/globalEvent/click.tsindex bf741472be..01b869415a 100644--- a/app/src/boot/globalEvent/click.ts+++ b/app/src/boot/globalEvent/click.ts@@ -66,7 +66,7 @@ export const globalClick = (event: MouseEvent & { target: HTMLElement }) => {}const copyElement = hasTopClosestByClassName(event.target, "protyle-action__copy");if (copyElement) {- let text = copyElement.parentElement.nextElementSibling.textContent.replace("/\n$/", "");+ let text = copyElement.parentElement.nextElementSibling.textContent.replace(/\n$/, "");text = text.replace(/\u00A0/g, " "); // Replace non-breaking spaces with normal spaces when copying https://github.com/siyuan-note/siyuan/issues/9382writeText(text);showMessage(window.siyuan.languages.copied, 2000);