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/11057
Vanessa943d8dac4348
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex ac8721ac87..01378509ee 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -930,11 +930,11 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {const selectElements = protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select");if (selectElements.length > 0) {selectElements[0].setAttribute("data-reftext", "true");+ focusByRange(getEditorRange(nodeElement));+ document.execCommand("copy");} else {- nodeElement.setAttribute("data-reftext", "true");+ writeText(`((${nodeElement.getAttribute("data-node-id")} "*"))`);}- focusByRange(getEditorRange(nodeElement));- document.execCommand("copy");}event.preventDefault();event.stopPropagation();