Open enertisbd opened 1 year ago
Make sense to me!
It's already looking pretty reasonable :
doc.autoTable({
head: [['Lorem']],
body: [['Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore quaerat tempora harum, voluptate tenetur, omnis magnam sed quod dolorum unde ipsum ad. Officiis, iure modi. Culpa maiores ratione odio adipisci!']],
theme: 'grid',
tableWidth: 105,
styles: {
halign: 'justify',
},
})
But line breaks are not working
Hi,
This is a suggestion... Modify the justify alignment code to not apply the word spacing in the last line of the paragraph. It make the text more readable, specially when the last paragraph contains a few words, or even two words only.
Cheers!