Breaking change. Make all italic to italics.

This commit is contained in:
Dolan Miu
2018-11-18 15:22:23 +00:00
parent 2677c4a4ec
commit 4e671eb512
6 changed files with 8 additions and 8 deletions

View File

@ -233,7 +233,7 @@ class DocumentCreator {
public createRoleText(roleText: string): Paragraph {
const paragraph = new Paragraph();
const role = new TextRun(roleText).italic();
const role = new TextRun(roleText).italics();
paragraph.addRun(role);

View File

@ -16,7 +16,7 @@ paragraph2.addRun(textRun2);
doc.addParagraph(paragraph2);
const paragraph3 = new Paragraph().bidirectional();
const textRun3 = new TextRun("שלום עולם").italic().rightToLeft();
const textRun3 = new TextRun("שלום עולם").italics().rightToLeft();
paragraph3.addRun(textRun3);
doc.addParagraph(paragraph3);