dolanmiu / docx

Easily generate and modify .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
https://docx.js.org/
MIT License
4.44k stars 486 forks source link

Table of contents is not working #2673

Closed Ankit-Naag closed 1 month ago

Ankit-Naag commented 7 months ago

I'm using docx@8.5.0 and the table of content is not working for me:

Here's a sample of my output: image

vonWolfehaus commented 6 months ago

I have the same problem, except it just appears blank in the rendered docx until i click on the general area it should be in and have google docs refresh it with the correct data. updateFields does not do anything and there's nothing else in the docs to suggest other steps to take for it to render properly.

vect-sderory2 commented 4 months ago

Same issue here as vonWolfehaus

dolanmiu commented 1 month ago

Closing because of duplicate

https://github.com/dolanmiu/docx/issues/380