Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Daniel0234549a9318
diff --git a/kernel/model/outline.go b/kernel/model/outline.go
index 9b5725f689..e07a86df9e 100644
--- a/kernel/model/outline.go
+++ b/kernel/model/outline.go
@@ -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 {