🎨 Improve av binding block https://github.com/siyuan-note/siyuan/issues/12090
This commit is contained in:
parent
a53d558987
commit
db6f17e91c
1 changed files with 4 additions and 0 deletions
|
@ -1878,6 +1878,10 @@ func AddAttributeViewBlock(tx *Transaction, srcs []map[string]interface{}, avID,
|
|||
now := time.Now().UnixMilli()
|
||||
for _, src := range srcs {
|
||||
srcID := src["id"].(string)
|
||||
if !ast.IsNodeIDPattern(srcID) {
|
||||
continue
|
||||
}
|
||||
|
||||
isDetached := src["isDetached"].(bool)
|
||||
var tree *parse.Tree
|
||||
if !isDetached {
|
||||
|
|
Loading…
Add table
Reference in a new issue