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
This is what I've noted when using html2canvas 0.5.0 in a new Web app I'm working on. I can provide the link via a direct message.
ul and ol should show bullets/numbers.
pre and code should use a fixed-spaced font.
In the app I've made it possible to see the intermediate HTML used to render the image, so it's easy to compare.
I'm still using the old "onrendered" method, despite being deprecated, as I don't know how to add options to the new approach. I haven't found any documentation for that, only a simple example without options.
Regards,
Anders
The text was updated successfully, but these errors were encountered:
I handled pre and code by setting a style that affected the generated HTML directly, so that works now. It seems html2canvas doesn't lift out any such styles from the context.
This is what I've noted when using html2canvas 0.5.0 in a new Web app I'm working on. I can provide the link via a direct message.
ul and ol should show bullets/numbers.
pre and code should use a fixed-spaced font.
In the app I've made it possible to see the intermediate HTML used to render the image, so it's easy to compare.
I'm still using the old "onrendered" method, despite being deprecated, as I don't know how to add options to the new approach. I haven't found any documentation for that, only a simple example without options.
Regards,
Anders
The text was updated successfully, but these errors were encountered: