mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-13 02:34:20 +01:00
This commit is contained in:
parent
77dd0776a7
commit
66afcafd84
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue