🎨 Support adding database blocks to a database Fix https://github.com/siyuan-note/siyuan/issues/10876

This commit is contained in:
Daniel 2024-04-05 22:27:28 +08:00
parent 41d03c92b9
commit 8e9a8ec6d4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -2022,11 +2022,6 @@ func addAttributeViewBlock(avID, blockID, previousBlockID, addingBlockID string,
err = ErrBlockNotFound err = ErrBlockNotFound
return return
} }
if ast.NodeAttributeView == node.Type {
// 不能将一个属性视图拖拽到另一个属性视图中
return
}
} else { } else {
if "" == addingBlockID { if "" == addingBlockID {
addingBlockID = ast.NewNodeID() addingBlockID = ast.NewNodeID()