docx-merger icon indicating copy to clipboard operation
docx-merger copied to clipboard

Bullets and numbering issue

Open RavishaHeshanE25 opened this issue 3 years ago • 0 comments

First of all thanks for this awesome package. it was a lifesaver. This is a possible solution to the issue that this has rather than an issue. I believe the issue happens because <w:numbering tags don't wrap the content properly if the first page doesn't have any bullets or numbering. I was able to fix it by checking if (startIndex !== -1 && endIndex !== -1) { condition. also removing these parts also helped to show up bullets and numbering on the doc(Please note that this is just a suggestion and I wasn't able to run a proper QA round on these and tried with merging two google docs exported as docx files). Unfortunately, I can't send a PR since I have added support for the latest JSZip version with async functions. Thanks again. keep up the good work.

RavishaHeshanE25 avatar Feb 01 '22 15:02 RavishaHeshanE25