From 66afcafd84f8867a46d59e4a6985d9800b563474 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 9 Jun 2025 10:54:19 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/10414 --- app/src/protyle/render/av/view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/render/av/view.ts b/app/src/protyle/render/av/view.ts index d452aa110..9aade0c42 100644 --- a/app/src/protyle/render/av/view.ts +++ b/app/src/protyle/render/av/view.ts @@ -375,10 +375,12 @@ export const addView = (protyle: IProtyle, blockElement: Element) => { transaction(protyle, [{ action: "addAttrViewView", avID, + layout:"gallery", id, blockID: blockElement.getAttribute("data-node-id") }], [{ action: "removeAttrViewView", + layout:"gallery", avID, id, blockID: blockElement.getAttribute("data-node-id")