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://ld246.com/article/1653184732199/comment/1653614587206?r=Vanessa#comments
Vanessa510d6475b197
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 2c6e29711e..fb35844ce9 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -65,6 +65,11 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {});}});+ inputElement.addEventListener("keydown", (event) => {+ if (event.key === "Enter" && !event.isComposing) {+ window.siyuan.menus.menu.remove();+ }+ });}}).element);window.siyuan.menus.menu.append(new MenuItem({