wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

[Question] line break issue in textArea #90

Closed mohammadaaqib closed 3 years ago

mohammadaaqib commented 3 years ago

line is not break in text-area, there are multiple lines in this text area but while generating pdf ,All lines are trim and text is generating in one line (kindly see image attached below) original text-area neeeew after pdf generate textArea

manuradisys commented 3 years ago

Hi Team,

Anyone looking at this issue which is reported based on the line break issue

wnabil commented 3 years ago

its not possible with this library as explained here https://github.com/MrRio/jsPDF/issues/758 print your textarea value in a div and it should work