Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: https://github.com/siyuan-note/siyuan/issues/12966

Vanessafacbea8a4167
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index e64129b302..8e9cf48512 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -91,6 +91,10 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
searchElement.style.width = "128px";
searchElement.style.paddingLeft = "";
searchElement.style.paddingRight = "";
+ const viewsElement = hasClosestByClassName(searchElement, "av__views");
+ if (viewsElement) {
+ viewsElement.classList.add("av__views--show")
+ }
setTimeout(() => {
searchElement.focus();
}, Constants.TIMEOUT_TRANSITION);