diff --git a/kernel/model/outline.go b/kernel/model/outline.go index ed8238aa1..178ac21cc 100644 --- a/kernel/model/outline.go +++ b/kernel/model/outline.go @@ -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, }) } }