Fix ordering of elements in paragraph-properties

This commit is contained in:
Tom Hunkapiller
2021-05-20 01:06:07 +03:00
parent d0a675fde6
commit 56b18d3793
3 changed files with 73 additions and 66 deletions

View File

@ -43,7 +43,7 @@ export class Paragraph extends XmlComponent {
this.properties = new ParagraphProperties({});
this.root.push(this.properties);
this.root.push(new TextRun(options));
return;
return this;
}
this.properties = new ParagraphProperties(options);