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/9283
Vanessa52773127d250
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 44ddae95be..840915ad27 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -1463,7 +1463,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {return;}- if (matchHotKey("⌘C", event)) {+ if (matchHotKey("⌘C", event) && selectText === "") {let html = "";protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select").forEach(item => {html += removeEmbed(item);@@ -1475,7 +1475,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {}}- if (matchHotKey("⌘X", event)) {+ if (matchHotKey("⌘X", event) && selectText === "") {let html = "";nodeElement.classList.add("protyle-wysiwyg--select");const selectElements = protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select");