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: 数据库搜索复制粘贴无效
Vanessac0a1e2420bce
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 19255c3733..f578b0e336 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -240,7 +240,7 @@ export class WYSIWYG {this.element.addEventListener("copy", (event: ClipboardEvent & { target: HTMLElement }) => {window.siyuan.ctrlIsPressed = false; // https://github.com/siyuan-note/siyuan/issues/6373// https://github.com/siyuan-note/siyuan/issues/4600- if (event.target.tagName === "PROTYLE-HTML") {+ if (event.target.tagName === "PROTYLE-HTML" || event.target.localName === "input") {event.stopPropagation();return;}@@ -1255,7 +1255,7 @@ export class WYSIWYG {if (protyle.disabled) {return;}- if (event.target.tagName === "PROTYLE-HTML") {+ if (event.target.tagName === "PROTYLE-HTML" || event.target.localName === "input") {event.stopPropagation();return;}@@ -1714,7 +1714,7 @@ export class WYSIWYG {}window.siyuan.ctrlIsPressed = false; // https://github.com/siyuan-note/siyuan/issues/6373// https://github.com/siyuan-note/siyuan/issues/4600- if (event.target.tagName === "PROTYLE-HTML") {+ if (event.target.tagName === "PROTYLE-HTML" || event.target.localName === "input") {event.stopPropagation();return;}