mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-11 19:10:24 +08:00
feat: add drawing inline marshal
This commit is contained in:
@@ -34,7 +34,7 @@ func (p *Paragraph) AddLink(text string, link string) *Hyperlink {
|
||||
},
|
||||
}
|
||||
|
||||
p.Data = append(p.Data, ParagraphChild{Link: hyperlink})
|
||||
p.Children = append(p.Children, ParagraphChild{Link: hyperlink})
|
||||
|
||||
return hyperlink
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user