Vanessa 2025-06-09 10:54:19 +08:00
parent 77dd0776a7
commit 66afcafd84

View file

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