Is there a way to convert a Canva creation to HTML for emailing?
atg
-
Pitet Posted messages 2845 Status Member -
Pitet Posted messages 2845 Status Member -
Hello,
I would like to convert a Canva creation into HTML so that I can use it in HTML code and thus re-edit the hosted links?
Thank you
I would like to convert a Canva creation into HTML so that I can use it in HTML code and thus re-edit the hosted links?
Thank you
1 answer
-
Hello,
The canvas element is already an HTML tag, so it cannot be "converted" into HTML.
If I understand correctly, the simplest thing for you would be to save the canvas rendering as an image in order to use that image in your emailing.
To save the canvas rendering as an image, you can either do it manually by taking a screenshot or you can use the Javascript function toDataURL() of the canvas element.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
Example: https://jsfiddle.net/v6mocbj2/
Have a nice day,