File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/protyle/render/av Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { showMessage } from "../../../../dialog/message" ;
21import { genCellValue , getTypeByCellElement , renderCell , renderCellAttr } from "../cell" ;
32import { fetchPost } from "../../../../util/fetch" ;
43import { setPage } from "../row" ;
@@ -59,6 +58,7 @@ ${fieldType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValu
5958 viewID : options . blockElement . getAttribute ( Constants . CUSTOM_SY_AV_VIEW ) ,
6059 groupID : options . groupID ,
6160 previousID : options . previousId ,
61+ srcIDs : options . srcIDs
6262 } , ( response ) => {
6363 if ( response . data . values ) {
6464 let popCellElement : HTMLElement ;
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010 renderCellAttr
1111} from "./cell" ;
1212import { fetchPost } from "../../../util/fetch" ;
13- import { showMessage } from "../../../dialog/message" ;
1413import * as dayjs from "dayjs" ;
1514import { Constants } from "../../../constants" ;
1615import { insertGalleryItemAnimation } from "./gallery/item" ;
@@ -116,7 +115,7 @@ export const setPage = (blockElement: Element) => {
116115export const insertAttrViewBlockAnimation = ( options : {
117116 protyle : IProtyle ,
118117 blockElement : Element ,
119- srcIDs : string [ ] ,
118+ srcIDs : string [ ] , // node id
120119 previousId : string ,
121120 groupID ?: string
122121} ) => {
@@ -170,6 +169,7 @@ ${colType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValue(
170169 viewID : options . blockElement . getAttribute ( Constants . CUSTOM_SY_AV_VIEW ) ,
171170 groupID : options . groupID ,
172171 previousID : options . previousId ,
172+ srcIDs : options . srcIDs ,
173173 } , ( response ) => {
174174 if ( response . data . values ) {
175175 let popCellElement : HTMLElement ;
You can’t perform that action at this time.
0 commit comments