Is it possible to disable hyperlinks on pdf file
Zumra96 opened this issue · comments
I was wondering is it possible to disable hyperlinks on pdf, when pdf is downloaded i cant select 'https://test.com' like normal string to copy it, I can only click on it and I am redirected to that page.
doc.text('https://test.com', 12, 134)
Hello,
Try to set a font and then add another text. You will be able to select it by going to the end of the link.
Here is an example :
var doc = new jsPDF();
doc.setFont("times", "italic");
doc.text("https://tests.com", 20, 40);
doc.text("Lorem ipsum dolor",22,150)
This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.