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/11561
Vanessadea6ecd5b9dd
diff --git a/app/src/protyle/wysiwyg/commonHotkey.ts b/app/src/protyle/wysiwyg/commonHotkey.tsindex ddab31abd2..b65825543a 100644--- a/app/src/protyle/wysiwyg/commonHotkey.ts+++ b/app/src/protyle/wysiwyg/commonHotkey.ts@@ -52,7 +52,7 @@ export const commonHotkey = (protyle: IProtyle, event: KeyboardEvent, nodeElemenif (matchHotKey(window.siyuan.config.keymap.editor.general.copyProtocolInMd.custom, event)) {if (nodeElement) {const selectElements = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));- if (selectElements.length > 0) {+ if (selectElements.length === 0) {selectElements.push(nodeElement);}copyTextByType(selectElements.map(item => item.getAttribute("data-node-id")), "protocolMd")@@ -67,7 +67,7 @@ export const commonHotkey = (protyle: IProtyle, event: KeyboardEvent, nodeElemenif (matchHotKey(window.siyuan.config.keymap.editor.general.copyID.custom, event)) {if (nodeElement) {const selectElements = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));- if (selectElements.length > 0) {+ if (selectElements.length === 0) {selectElements.push(nodeElement);}copyTextByType(selectElements.map(item => item.getAttribute("data-node-id")), "id")@@ -81,7 +81,7 @@ export const commonHotkey = (protyle: IProtyle, event: KeyboardEvent, nodeElemenif (matchHotKey(window.siyuan.config.keymap.editor.general.copyProtocol.custom, event)) {if (nodeElement) {const selectElements = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));- if (selectElements.length > 0) {+ if (selectElements.length === 0) {selectElements.push(nodeElement);}copyTextByType(selectElements.map(item => item.getAttribute("data-node-id")), "protocol")@@ -96,7 +96,7 @@ export const commonHotkey = (protyle: IProtyle, event: KeyboardEvent, nodeElemenif (matchHotKey(window.siyuan.config.keymap.editor.general.copyBlockEmbed.custom, event)) {if (nodeElement) {const selectElements = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));- if (selectElements.length > 0) {+ if (selectElements.length === 0) {selectElements.push(nodeElement);}copyTextByType(selectElements.map(item => item.getAttribute("data-node-id")), "blockEmbed")