#1744 - Add vanish and specVanish

This commit is contained in:
Dolan Miu
2022-10-28 22:20:16 +01:00
parent 29f421686f
commit 4cfb0ade88
6 changed files with 83 additions and 1 deletions

View File

@ -195,6 +195,14 @@ const doc = new Document({
new TextRun({
text: "and back to normal.",
}),
new TextRun({
text: "This text will be invisible!",
vanish: true,
}),
new TextRun({
text: "This text will be VERY invisible! Word processors cannot override this!",
specVanish: true,
}),
],
}),
new Paragraph({