🎨 大纲面板和大纲页签改进 https://github.com/siyuan-note/siyuan/issues/5087
This commit is contained in:
parent
7223dec015
commit
213862b5c4
1 changed files with 9 additions and 8 deletions
|
@ -88,14 +88,15 @@ func Outline(rootID string) (ret []*Path, err error) {
|
|||
for _, b := range children {
|
||||
resetDepth(b, 0)
|
||||
ret = append(ret, &Path{
|
||||
ID: b.ID,
|
||||
Box: b.Box,
|
||||
Name: b.Content,
|
||||
Type: b.Type,
|
||||
SubType: b.SubType,
|
||||
Blocks: b.Children,
|
||||
Depth: 0,
|
||||
Count: b.Count,
|
||||
ID: b.ID,
|
||||
Box: b.Box,
|
||||
Name: b.Content,
|
||||
NodeType: b.Type,
|
||||
Type: "outline",
|
||||
SubType: b.SubType,
|
||||
Blocks: b.Children,
|
||||
Depth: 0,
|
||||
Count: b.Count,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue