Raj-Srikar / Custom-Mockup-Generator

Create and generate your own mockups for your designs. Allows full mockup customization.
https://raj-srikar.github.io/Custom-Mockup-Generator/
MIT License
2 stars 0 forks source link

Can not generate mockup #1

Open hoanghiep opened 3 weeks ago

hoanghiep commented 3 weeks ago

Hi @Raj-Srikar

I deployed it as instructed but when generating the image it gives the following error message:

script.js:209 Uncaught TypeError: e.data.indexOf is not a function
    at ppReady (script.js:209:12)

Please help. Thank you.

Raj-Srikar commented 3 weeks ago

Hi @hoanghiep

Please clarify on the below points to help diagnose the issue better:

Known Issue: Due to the new update in photopea, the newly loaded webpage is having a welcome screen, which is preventing the API from functioning. Fix: For now this can be fixed in the dev tools, by disabling the display property of the photopea iframe and clicking the "Start using Photopea" button inside. However, this is just a one time issue. Once it's done, the browser will remember the decision and won't show the welcome page again, even after reload.