mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-15 15:28:37 +08:00
This commit is contained in:
parent
1a6b80b5af
commit
2b3405fcca
@ -1,4 +1,3 @@
|
||||
import {showMessage} from "../../../../dialog/message";
|
||||
import {genCellValue, getTypeByCellElement, renderCell, renderCellAttr} from "../cell";
|
||||
import {fetchPost} from "../../../../util/fetch";
|
||||
import {setPage} from "../row";
|
||||
@ -59,6 +58,7 @@ ${fieldType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValu
|
||||
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW),
|
||||
groupID: options.groupID,
|
||||
previousID: options.previousId,
|
||||
srcIDs: options.srcIDs
|
||||
}, (response) => {
|
||||
if (response.data.values) {
|
||||
let popCellElement: HTMLElement;
|
||||
|
||||
@ -10,7 +10,6 @@ import {
|
||||
renderCellAttr
|
||||
} from "./cell";
|
||||
import {fetchPost} from "../../../util/fetch";
|
||||
import {showMessage} from "../../../dialog/message";
|
||||
import * as dayjs from "dayjs";
|
||||
import {Constants} from "../../../constants";
|
||||
import {insertGalleryItemAnimation} from "./gallery/item";
|
||||
@ -116,7 +115,7 @@ export const setPage = (blockElement: Element) => {
|
||||
export const insertAttrViewBlockAnimation = (options: {
|
||||
protyle: IProtyle,
|
||||
blockElement: Element,
|
||||
srcIDs: string[],
|
||||
srcIDs: string[], // node id
|
||||
previousId: string,
|
||||
groupID?: string
|
||||
}) => {
|
||||
@ -170,6 +169,7 @@ ${colType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValue(
|
||||
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW),
|
||||
groupID: options.groupID,
|
||||
previousID: options.previousId,
|
||||
srcIDs: options.srcIDs,
|
||||
}, (response) => {
|
||||
if (response.data.values) {
|
||||
let popCellElement: HTMLElement;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user