mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -230,7 +230,13 @@ export const openMenuPanel = (options: {
|
||||
id: sourceId,
|
||||
previousID: sourceElement.previousElementSibling?.getAttribute("data-id")
|
||||
}]);
|
||||
// TODO
|
||||
if (isTop) {
|
||||
targetElement.before(sourceElement)
|
||||
targetElement.classList.remove("dragover__top")
|
||||
} else {
|
||||
targetElement.after(sourceElement)
|
||||
targetElement.classList.remove("dragover__bottom")
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (type === "filters") {
|
||||
|
||||
Reference in New Issue
Block a user