mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
28a790f7eb
commit
daf043bd0c
6 changed files with 23 additions and 23 deletions
|
|
@ -279,10 +279,10 @@ export class Outline extends Model {
|
|||
if (selectItem) {
|
||||
getAllModels().editor.find(editItem => {
|
||||
if (editItem.editor.protyle.block.rootID === this.blockId) {
|
||||
let previousID
|
||||
let parentID
|
||||
const undoPreviousID = item.previousElementSibling?.getAttribute("data-node-id")
|
||||
const undoParentID = item.parentElement.previousElementSibling?.getAttribute("data-node-id")
|
||||
let previousID;
|
||||
let parentID;
|
||||
const undoPreviousID = item.previousElementSibling?.getAttribute("data-node-id");
|
||||
const undoParentID = item.parentElement.previousElementSibling?.getAttribute("data-node-id");
|
||||
if (selectItem.classList.contains("dragover")) {
|
||||
parentID = selectItem.getAttribute("data-node-id");
|
||||
if (selectItem.nextElementSibling && selectItem.nextElementSibling.tagName === "UL") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue