voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.7k stars 500 forks source link

src of image not getting saved in exportHTML function. #562

Closed devat19 closed 4 years ago

devat19 commented 4 years ago

Hi, I am saving uploading images for template to s3, and trying to save resulting html to show later. I have achieved saving the image via srcSetter (in wysiwyg.js ; element.setAttribute('src', src) in img.onload), so that it displays correctly (alongwith src of element). But when i am trying to download the template, the resulting image doesn't have any src (the alt text is coming up fine though). Can you help me by pointing where i might be going wrong?. Thanks.

bago commented 4 years ago

https://github.com/voidlabs/mosaico/issues?utf8=%E2%9C%93&q=is%3Aissue+s3

devat19 commented 4 years ago

Found duplicate similar issue #514 . Thanks