New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addHTML error #362
Comments
The problem occurs into html2canvas, hence i guess you're passing an html-string rather than a DOM node/element? |
You are correct. Is there a solution to just passing in an html string? I updated the plunker to load from a DOM element, doesn't look good, colors are wrong, lists are missing bullets, font is grainy... The reason I am now trying to use addHTML instead of fromHTML as from HTML had random textspacing issues, just random lines would have weird characters and increased letterspacing... |
Damn, i thought html2canvas supported bullet lists, it doesn't yet apparently: niklasvh/html2canvas#177 Well, give addHTML( node, { rstz : true }, function() {...}); |
I couldn't get rasterizeHTML to load... looking for other solutions and thinking I should just use pdfreactor at this point as I am wasting so much time. I need simple html to pdf, with very little css, some padding, lists, spacing and maybe a few images and links. I will want encryption and password protection and I don't see that anywhere else. Thanks for taking the time to manage this repo and answer my questions. |
I am attempting to convert my fromHTML code to the addHTML and I keep getting a js error
http://plnkr.co/edit/1Z5Mj6?p=preview
Thanks for your support and work on this control
The text was updated successfully, but these errors were encountered: