Html to pdf using jsPDF rtl support
问题 I am trying to convert html to pdf with jsPDF using angular 5 Here is my code: import * as jsPDF from "jspdf"; . . . htmlToPdf(){ var doc=new jsPDF(); var specialElementHandlers = { '#content' : function(element,render) {return true;} }; doc.fromHTML(document.getElementById('content'), 20,20,{ 'width':500, 'elementHandlers': specialElementHandlers, }); doc.save('Reports.pdf'); } I am trying to export the pdf with direction right to left without sucsses When I try this command: doc