mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
5ae2db8bb9
3 changed files with 10 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue