Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-09 18:37:22 +08:00
parent ca179523c3
commit cdf60c1105
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1304,6 +1304,9 @@ func (tx *Transaction) doInsert0(operation *Operation, tree *parse.Tree) (ret *T
insertedNode.RemoveIALAttr(av.NodeAttrViewNames)
insertedNode.RemoveIALAttrsByPrefix(av.NodeAttrViewStaticText)
// 复制为副本时移除闪卡相关属性 https://github.com/siyuan-note/siyuan/issues/13987
insertedNode.RemoveIALAttr(NodeAttrRiffDecks)
if ast.NodeAttributeView == insertedNode.Type {
// 插入数据库块时需要重新绑定其中已经存在的块
// 比如剪切操作时,会先进行 delete 数据库解绑块,这里需要重新绑定 https://github.com/siyuan-note/siyuan/issues/13031