mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
This commit is contained in:
parent
a78f0d4b78
commit
b7f7df9c7e
1 changed files with 5 additions and 0 deletions
|
|
@ -112,6 +112,11 @@ func addAttributeViewBlock(blockID, avID string, tree *parse.Tree) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ast.NodeAttributeView == node.Type {
|
||||||
|
// 不能将一个属性视图拖拽到另一个属性视图中
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
block := sql.BuildBlockFromNode(node, tree)
|
block := sql.BuildBlockFromNode(node, tree)
|
||||||
if nil == block {
|
if nil == block {
|
||||||
err = ErrBlockNotFound
|
err = ErrBlockNotFound
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue