mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
c6cbb15ed4
commit
65e1a32268
6 changed files with 60 additions and 36 deletions
|
|
@ -188,12 +188,14 @@ export const openMenuPanel = (protyle: IProtyle,
|
|||
}
|
||||
transaction(protyle, [{
|
||||
action: "sortAttrViewCol",
|
||||
parentID: avId,
|
||||
avID: avId,
|
||||
viewID: data.viewID,
|
||||
previousID: (targetElement.classList.contains("dragover__top") ? targetElement.previousElementSibling?.getAttribute("data-id") : targetElement.getAttribute("data-id")) || "",
|
||||
id: sourceId,
|
||||
}], [{
|
||||
action: "sortAttrViewCol",
|
||||
parentID: avId,
|
||||
avID: avId,
|
||||
viewID: data.viewID,
|
||||
previousID: sourceElement.previousElementSibling?.getAttribute("data-id") || "",
|
||||
id: sourceId,
|
||||
}]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue