mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/15089 https://github.com/siyuan-note/siyuan/issues/15181
This commit is contained in:
parent
60d44fec3d
commit
3c21d39e52
6 changed files with 52 additions and 23 deletions
|
|
@ -35,8 +35,9 @@ func (layoutTable *LayoutTable) GetItemIDs() (ret []string) {
|
|||
func NewLayoutTable() *LayoutTable {
|
||||
return &LayoutTable{
|
||||
BaseLayout: &BaseLayout{
|
||||
Spec: 0,
|
||||
ID: ast.NewNodeID(),
|
||||
Spec: 0,
|
||||
ID: ast.NewNodeID(),
|
||||
ShowIcon: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -66,7 +67,6 @@ type Table struct {
|
|||
type TableColumn struct {
|
||||
*BaseInstanceField
|
||||
|
||||
Wrap bool `json:"wrap"` // 是否换行
|
||||
Pin bool `json:"pin"` // 是否固定
|
||||
Width string `json:"width"` // 列宽度
|
||||
Calc *ColumnCalc `json:"calc"` // 计算
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue