mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨 Support adding database blocks to a database Fix https://github.com/siyuan-note/siyuan/issues/10876
This commit is contained in:
parent
41d03c92b9
commit
8e9a8ec6d4
1 changed files with 2 additions and 7 deletions
|
|
@ -2022,11 +2022,6 @@ func addAttributeViewBlock(avID, blockID, previousBlockID, addingBlockID string,
|
|||
err = ErrBlockNotFound
|
||||
return
|
||||
}
|
||||
|
||||
if ast.NodeAttributeView == node.Type {
|
||||
// 不能将一个属性视图拖拽到另一个属性视图中
|
||||
return
|
||||
}
|
||||
} else {
|
||||
if "" == addingBlockID {
|
||||
addingBlockID = ast.NewNodeID()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue