GrapesJS / preset-newsletter

GrapesJS preset configuration for the newsletter editor.
https://grapesjs.com/demo-newsletter-editor.html
BSD 3-Clause "New" or "Revised" License
198 stars 143 forks source link

Block placeholder is using http #108

Closed ghimes closed 1 year ago

ghimes commented 3 years ago

Hello, The placeholder for the images in some blocks are using http. When using https for your website, you will get this error in the console:

Mixed Content: The page at 'about:blank' was loaded over HTTPS, but requested an insecure element 'http://placehold.it/250x150/78c5d6/fff/'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html placehold.it/250x150/78c5d6/fff/:1 GET https://placehold.it/250x150/78c5d6/fff/ net::ERR_CERT_DATE_INVALID

Here is code from the repo. https://github.com/artf/grapesjs-preset-newsletter/blob/6308db80c9fdfa91af1dae8bf3f97d1066dde67f/src/blocks.js#L145

Please help me solve this.

artf commented 1 year ago

Closing as already fixed