Inventsable / bombino

Supercharged Adobe CEP panel generator for Vue with dynamic template support for Vue-CLI and Quasar-CLI
MIT License
98 stars 16 forks source link

CEP 11: evalScript no longer executes callbacks when in iframed context #17

Closed saar62097 closed 3 years ago

saar62097 commented 3 years ago

When trying an app built with Bombino in AE 18.4 (Beta, prerelease) that has CEP11 embedded in it, then calling window.__adobe_cep__.evalScript("app", function(r){console.log(r)}); inside the iframed app (localhost:8080) no longer executes the callback, unlike in CEP 10 and before.

I'm not sure it is related to any of the 4 points listed by Adobe here

Are there any changes needed to apply to the config that will make JSX (extendcsript) accessible again within the iframe, including invoking the callbacks?

thnx in advance

saar62097 commented 3 years ago

Adobe suggests using postMessage https://github.com/Adobe-CEP/CEP-Resources/issues/364

Inventsable commented 3 years ago

This is fixed via #20