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")