mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
4bdc3536a3
commit
e15f8f7769
1 changed files with 2 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func TransferBlockRef(fromID, toID string) (err error) {
|
|||
for _, textMark := range textMarks {
|
||||
if textMark.IsTextMarkType("block-ref") && textMark.TextMarkBlockRefID == fromID {
|
||||
textMark.TextMarkBlockRefID = toID
|
||||
if "s" == textMark.TextMarkBlockRefSubtype {
|
||||
if "d" == textMark.TextMarkBlockRefSubtype {
|
||||
textMark.TextMarkTextContent = toRefText
|
||||
}
|
||||
}
|
||||
|
|
@ -149,6 +149,7 @@ func TransferBlockRef(fromID, toID string) (err error) {
|
|||
return
|
||||
}
|
||||
}
|
||||
util.ReloadUI()
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue