aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorCraig Leinoff <craig.leinoff@gmail.com>2014-01-03 12:42:31 -0500
committerCraig Leinoff <craig.leinoff@gmail.com>2014-01-03 12:42:31 -0500
commitdd28d971d67ce558b86ac12f01d38e9ff21c91b7 (patch)
treed5006ca44c9de05ee38f4bc665ae2ba21af2ae10 /lib/documents.js
parentb8f19a140539e417759f32a89ccfbe89a4a43d0b (diff)
Adding fixed "p.CenteredHeading" in the event of a centered heading, which will, by default, create an h2.centered tag.
Diffstat (limited to 'lib/documents.js')
-rw-r--r--lib/documents.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/documents.js b/lib/documents.js
index 4dfbe74..193bb4f 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -22,7 +22,8 @@ function Run(children, properties) {
children: children,
styleName: properties.styleName || null,
isBold: properties.isBold,
- isItalic: properties.isItalic
+ isItalic: properties.isItalic,
+ alignment: properties.alignment || null
};
}