From 3a1803c8daacf16730508ce315c9a0868034e3bd Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 9 Jul 2025 23:09:08 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15245 --- app/src/protyle/render/av/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index ae2ecdc29..3b0530546 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -71,7 +71,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle const imgElement = hasClosestByClassName(event.target, "av__cellassetimg"); if (imgElement) { previewAttrViewImages( - removeCompressURL((imgElement as HTMLImageElement).src), + removeCompressURL((imgElement as HTMLImageElement).getAttribute("src")), blockElement.getAttribute("data-av-id"), blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW), (blockElement.querySelector('[data-type="av-search"]') as HTMLInputElement)?.value.trim() || ""