mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -87,7 +87,7 @@ func NewEditor() *Editor {
|
||||
RTL: false,
|
||||
BacklinkExpandCount: 8,
|
||||
BackmentionExpandCount: -1,
|
||||
BacklinkContainChildren: false,
|
||||
BacklinkContainChildren: true,
|
||||
Markdown: util.MarkdownSettings,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3147,7 +3147,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID string, valueDa
|
||||
if blockText == content {
|
||||
updateStaticText = false
|
||||
} else {
|
||||
val.Block.Content = blockText
|
||||
val.Block.Content = content
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1313,10 +1313,17 @@ func upsertAvBlockRel(node *ast.Node) {
|
||||
})
|
||||
}
|
||||
|
||||
affectedAvIDs = gulu.Str.RemoveDuplicatedElem(affectedAvIDs)
|
||||
go func() {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
sql.FlushQueue()
|
||||
|
||||
affectedAvIDs = gulu.Str.RemoveDuplicatedElem(affectedAvIDs)
|
||||
var relatedAvIDs []string
|
||||
for _, avID := range affectedAvIDs {
|
||||
relatedAvIDs = append(relatedAvIDs, av.GetSrcAvIDs(avID)...)
|
||||
}
|
||||
affectedAvIDs = append(affectedAvIDs, relatedAvIDs...)
|
||||
affectedAvIDs = gulu.Str.RemoveDuplicatedElem(affectedAvIDs)
|
||||
for _, avID := range affectedAvIDs {
|
||||
ReloadAttrView(avID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user