An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Allow copying tab content in read-only mode https://github.com/siyuan-note/siyuan/issues/19368
Daniel64964971f0c9
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 06cd2480f2..cfa523b492 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -322,6 +322,10 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {return;}event.stopPropagation();+ // 只读页签正文获得焦点后,保留复制快捷键的默认行为。+ if (matchHotKey("⌘C", event)) {+ return;+ }event.preventDefault();return;}