This commit is contained in:
Liang Ding 2023-02-06 18:08:41 +08:00
parent 4bdc3536a3
commit e15f8f7769
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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
}