support style changes in revisions

This commit is contained in:
Thomas Jansen
2021-11-26 12:29:11 +01:00
parent 09b81017d0
commit e598faad28
4 changed files with 110 additions and 5 deletions

View File

@ -113,6 +113,16 @@ const doc = new Document({
bold: true,
children: ["\tuse Inserted and Deleted TextRuns.", new FootnoteReferenceRun(1)],
}),
new TextRun({
bold: true,
text: "And some style changes",
revision: {
id: 4,
author: "Firstname Lastname",
date: "2020-10-06T09:05:00Z",
bold: false,
}
}),
],
}),
],