mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 15:56:10 +01:00
This commit is contained in:
parent
5895233e81
commit
3a1803c8da
1 changed files with 1 additions and 1 deletions
|
|
@ -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() || ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue