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: fix https://github.com/siyuan-note/siyuan/issues/5521
Vanessa6652ac5352c6
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 1ab8ccf44f..a2d4eb7eb4 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -1372,7 +1372,9 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {return;}- if (isNotEditBlock(nodeElement) && matchHotKey("⌘C", event)) {+ if (isNotEditBlock(nodeElement) &&+ nodeElement.getAttribute("data-type") !== "NodeHTMLBlock" // HTML 块选中部分内容无法复制 https://github.com/siyuan-note/siyuan/issues/5521+ && matchHotKey("⌘C", event)) {let html = "";protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select").forEach(item => {html += removeEmbed(item);