mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 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:
parent
24e929b654
commit
e988f5373f
1 changed files with 0 additions and 6 deletions
|
|
@ -71,12 +71,6 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
|
|||
}
|
||||
}
|
||||
|
||||
if targetNode == heading.Previous {
|
||||
if previousHeading.HeadingLevel >= heading.HeadingLevel {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
diffLevel := heading.HeadingLevel - previousHeading.HeadingLevel
|
||||
heading.HeadingLevel = previousHeading.HeadingLevel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue