From cdf60c11054d134f133684160ab317515a79a0f9 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 9 Jan 2026 18:37:22 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13987 Signed-off-by: Daniel <845765@qq.com> --- kernel/model/transaction.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go index c6c6de6bd..2744d0080 100644 --- a/kernel/model/transaction.go +++ b/kernel/model/transaction.go @@ -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