This commit is contained in:
parent
86fbb759ed
commit
90044e1f26
1 changed files with 2 additions and 1 deletions
|
@ -46,10 +46,11 @@ func AddBlockToAttributeView(blockID, avID string) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
attrs := parse.IAL2Map(node.KramdownIAL)
|
||||
var row []av.Cell
|
||||
row = append(row, av.NewCellBlock(block.ID))
|
||||
if 1 < len(attrView.Columns) {
|
||||
attrs := parse.IAL2Map(node.KramdownIAL)
|
||||
|
||||
for _, col := range attrView.Columns[1:] {
|
||||
colName := col.Name()
|
||||
attrs[colName] = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue