0👍
✅
I’ve finally found a solution to the problem. It’s probably not the best solution but if someone comes across the same problem, here is a solution. I’ve only entered the Table code for simplicity.
new Table({
rows: [
new TableRow({
children: [
new TableCell({
children: [
new Paragraph({
children: [
new TextRun({ text: this.budget.planning }),
// Using a TextRun inside the table is the solution
// also make sure to define it as 'text' and it should work!
],
}),
],
}),
],
}),
]
});
Happy Coding!
Source:stackexchange.com