mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
370d549a48
commit
f5b17b2b22
8 changed files with 8 additions and 21 deletions
|
|
@ -1073,7 +1073,6 @@ func (tx *Transaction) syncDelete2Block(node *ast.Node, nodeTree *parse.Tree) (c
|
|||
oldAttrs := parse.IAL2Map(toChangNode.KramdownIAL)
|
||||
toChangNode.SetIALAttr(av.NodeAttrViewNames, avNames)
|
||||
pushBroadcastAttrTransactions(oldAttrs, toChangNode)
|
||||
toChangNode.RemoveIALAttr(av.NodeAttrViewNames)
|
||||
}
|
||||
|
||||
for _, tree := range trees {
|
||||
|
|
@ -1209,6 +1208,7 @@ func (tx *Transaction) doLargeInsert(previousID string) (ret *TxErr) {
|
|||
|
||||
// 复制为副本时移除数据库绑定状态 https://github.com/siyuan-note/siyuan/issues/12294
|
||||
insertedNode.RemoveIALAttr(av.NodeAttrNameAvs)
|
||||
insertedNode.RemoveIALAttr(av.NodeAttrViewNames)
|
||||
insertedNode.RemoveIALAttrsByPrefix(av.NodeAttrViewStaticText)
|
||||
|
||||
if ast.NodeAttributeView == insertedNode.Type {
|
||||
|
|
@ -1387,6 +1387,7 @@ func (tx *Transaction) doInsert(operation *Operation) (ret *TxErr) {
|
|||
|
||||
// 复制为副本时移除数据库绑定状态 https://github.com/siyuan-note/siyuan/issues/12294
|
||||
insertedNode.RemoveIALAttr(av.NodeAttrNameAvs)
|
||||
insertedNode.RemoveIALAttr(av.NodeAttrViewNames)
|
||||
insertedNode.RemoveIALAttrsByPrefix(av.NodeAttrViewStaticText)
|
||||
|
||||
if ast.NodeAttributeView == insertedNode.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue