mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
23c01d0d3f
commit
a72c257227
6 changed files with 163 additions and 272 deletions
|
|
@ -87,6 +87,10 @@ type TableCell struct {
|
|||
BgColor string `json:"bgColor"` // 单元格背景颜色
|
||||
}
|
||||
|
||||
func (row *TableRow) GetID() string {
|
||||
return row.ID
|
||||
}
|
||||
|
||||
func (row *TableRow) GetBlockValue() (ret *Value) {
|
||||
for _, cell := range row.Cells {
|
||||
if KeyTypeBlock == cell.ValueType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue