I’m developing a custom Editor Add-on panel for Wix Studio using Vite (served locally via ngrok). The panel loads correctly inside the Editor, but the Wix SDK is not detected. The console shows:
[Wix SDK] Not detected yet. Running in simulation if opened outside Editor.
and my code relying on wixEditor.onReady() or window.wixSdk never executes.
I’ve already:
Set the panel URL to a valid HTTPS ngrok link (e.g., https://xxxxx.ngrok-free.dev/)
Enabled HTTPS in Vite
Reinstalled the app on my dev site through Test App → Test on dev site
Confirmed permissions (Manage Media Manager)
Tried both Studio and Classic Editor
However, the SDK still isn’t injected into the panel iframe.
Could you please advise what might block the SDK handshake between the Wix Editor and the iframe?
Is there any additional configuration or header required for the local dev setup to work correctly with the Editor Add-on SDK?