This is demo for
Photopea Live Messaging API
demo1.html
- Wait for "done", then send a script
demo2.html
- Load a file (as ArrayBuffer) and give it to Photopea
demo3.html
- Insert as smart object and wait for "done", then send a script