You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Is there the plan to support multiple lines in the textWithLink annotation?
As the documentation points out, it only supports single line text atm.
If the text is broken into multiple lines, the clickable link area should be extended to all lines, not only the first line.
In the following example only the first line can be clicked, but it would be great if the second line can be clicked too:
var link = "http://very-long-http-link-to-generate-a-line-break.com/second-line-starts"
var doc = new jsPDF();
doc.setFontSize(20);
doc.textWithLink(link, 20, 30, { maxWidth: 160, url: link});
doc.save('Test.pdf');
It seems some of the tests in the master branch are failing. What should I do about my pull request if those tests are failing?
I'll submit a pull request tagging this issue.
Hello! Is there the plan to support multiple lines in the textWithLink annotation?
As the documentation points out, it only supports single line text atm.
If the text is broken into multiple lines, the clickable link area should be extended to all lines, not only the first line.
In the following example only the first line can be clicked, but it would be great if the second line can be clicked too:
Test.pdf
The text was updated successfully, but these errors were encountered: