Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/15095

Vanessa53dce63ad8c3
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts
index f1ff0e563b..0f03529676 100644
--- a/app/src/protyle/render/av/render.ts
+++ b/app/src/protyle/render/av/render.ts
@@ -30,7 +30,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: (data: IAV) =
}
if (avElements.length > 0) {
avElements.forEach((e: HTMLElement) => {
- if (e.getAttribute("data-render") === "true") {
+ if (e.getAttribute("data-render") === "true" || hasClosestByClassName(e, "av__gallery-content")) {
return;
}
if (isMobile() || isInIOS() || isInAndroid() || isInHarmony()) {