mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🚨
This commit is contained in:
parent
1c4718fcb9
commit
67f095c522
7 changed files with 26 additions and 26 deletions
|
|
@ -366,10 +366,10 @@ export const openMenuPanel = (options: {
|
|||
}
|
||||
targetElement.classList.remove("dragover__bottom", "dragover__top");
|
||||
const blockIDs: string[] = [];
|
||||
const contents: IAVCellValue[] = []
|
||||
const contents: IAVCellValue[] = [];
|
||||
targetElement.parentElement.querySelectorAll(".fn__grab").forEach(item => {
|
||||
const dateElement = item.nextElementSibling as HTMLElement
|
||||
blockIDs.push(dateElement.dataset.id)
|
||||
const dateElement = item.nextElementSibling as HTMLElement;
|
||||
blockIDs.push(dateElement.dataset.id);
|
||||
contents.push({
|
||||
isDetached: !dateElement.style.color,
|
||||
type: "block",
|
||||
|
|
@ -377,8 +377,8 @@ export const openMenuPanel = (options: {
|
|||
content: dateElement.textContent,
|
||||
id: dateElement.dataset.id
|
||||
}
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
updateCellsValue(options.protyle, options.blockElement as HTMLElement, {
|
||||
blockIDs,
|
||||
contents,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue