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/7206
Vanessa8ba3ab0add8a
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 093515704e..08ef1a39b4 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -365,7 +365,7 @@ export const contentMenu = (protyle: IProtyle, nodeElement: Element) => {}}}).element);- /// #if !BROWSER && !MOBILE+ /// #if !BROWSERwindow.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.pasteAsPlainText,accelerator: "⇧⌘V",diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex 694c63aba3..349f68d55e 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -49,9 +49,9 @@ export const pasteAsPlainText = async (protyle: IProtyle) => {if (localFiles.length > 0) {uploadLocalFiles(localFiles, protyle, false);writeText("");+ } else {+ getCurrentWindow().webContents.pasteAndMatchStyle();}- /// #else- getCurrentWindow().webContents.pasteAndMatchStyle();/// #endif};diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 74456a6cc0..969a616c96 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -1620,7 +1620,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {}/// #endif- /// #if !BROWSER && !MOBILE+ /// #if !BROWSERif (matchHotKey("⇧⌘V", event)) {event.returnValue = false;event.preventDefault();