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

@ -6,7 +6,7 @@ export class TextRun extends Run {
if (typeof options === "string") {
super({});
this.root.push(new Text(options));
return;
return this;
}
super(options);