🎨 The outline item in the outline panel supports dragging to adjust the level and position https://github.com/siyuan-note/siyuan/issues/7957

This commit is contained in:
Daniel 2024-03-29 22:06:20 +08:00
parent 7d6dfc8536
commit 0234549a93
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -112,12 +112,6 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
}
}
if targetNode == heading.Previous {
if parentHeading.HeadingLevel < heading.HeadingLevel {
return
}
}
diffLevel := 1
heading.HeadingLevel = parentHeading.HeadingLevel + 1
if 6 < heading.HeadingLevel {