aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/documents.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/documents.js b/lib/documents.js
index 193bb4f..3af5bd5 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -11,7 +11,8 @@ function Paragraph(children, properties) {
type: "paragraph",
children: children,
styleName: properties.styleName || null,
- numbering: properties.numbering || null
+ numbering: properties.numbering || null,
+ alignment: properties.alignment || null
};
}
@@ -22,8 +23,7 @@ function Run(children, properties) {
children: children,
styleName: properties.styleName || null,
isBold: properties.isBold,
- isItalic: properties.isItalic,
- alignment: properties.alignment || null
+ isItalic: properties.isItalic
};
}