An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: https://ld246.com/article/1713618202536
Vanessae094cb20c4c7
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex 7418fad4d0..6fe0f0bc1e 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -29,6 +29,7 @@ import {avRender} from "./render";import {addView, openViewMenu} from "./view";import {isOnlyMeta, writeText} from "../../util/compatibility";import {openSearchAV} from "./relation";+import {Constants} from "../../../constants";export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLElement }) => {if (isOnlyMeta(event)) {@@ -87,7 +88,9 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLElesearchElement.style.width = "128px";searchElement.style.paddingLeft = "";searchElement.style.paddingRight = "";- searchElement.focus();+ setTimeout(() => {+ searchElement.focus();+ }, Constants.TIMEOUT_TRANSITION);event.preventDefault();event.stopPropagation();return true;