mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
12fccf9349
commit
cf6718f80f
1 changed files with 7 additions and 1 deletions
|
|
@ -230,7 +230,13 @@ export const openMenuPanel = (options: {
|
||||||
id: sourceId,
|
id: sourceId,
|
||||||
previousID: sourceElement.previousElementSibling?.getAttribute("data-id")
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if (type === "filters") {
|
if (type === "filters") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue