🎨 块引用与所引用的内容块进行交换 https://github.com/siyuan-note/siyuan/issues/4981
This commit is contained in:
parent
b774f98044
commit
5bd06ea506
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ func SwapBlockRef(refID, defID string, includeChildren bool) (err error) {
|
|||
defNode.InsertAfter(refNode)
|
||||
refPivot.InsertAfter(defNode)
|
||||
for i := len(defNodeChildren) - 1; -1 < i; i-- {
|
||||
refPivot.InsertAfter(defNodeChildren[i])
|
||||
defNode.InsertAfter(defNodeChildren[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue