This commit is contained in:
Daniel 2025-06-15 18:21:26 +08:00
parent 2bb92bf5fe
commit 38b097d4f0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1803,6 +1803,7 @@ func (tx *Transaction) doDuplicateAttrViewView(operation *Operation) (ret *TxErr
attrs := parse.IAL2Map(node.KramdownIAL)
attrs[av.NodeAttrView] = operation.ID
node.AttributeViewType = string(masterView.LayoutType)
err = setNodeAttrs(node, tree, attrs)
if err != nil {
logging.LogWarnf("set node [%s] attrs failed: %s", operation.BlockID, err)