I would expect to see the latest draft of the post I'm previewing in my Sanity Studio preview iframe.
What is actually happening?
I can only see the latest published version.
Additional information
This seems to be a similar issue to 799 except I already have withCredentials set to true in my Nuxt config and yet I'm still not able to see drafts in my Sanity Studio iframe.
Checklist
[x] I have tested with the latest Nuxt version and the issue still occurs
[x] I have tested with the latest module version and the issue still occurs
[x] I have searched the issue tracker and this issue hasn't been reported yet
Version
module: 1.12.1 nuxt: 3.12.4
Nuxt configuration
nuxt.config.ts
Reproduction
Steps to reproduce
Install Iframe Pane plugin in Sanity Studio
Sanity setup:
sanity.config.js
defaultDocumentNode.js
Note: resolveBaseUrl() just returns either my prod domain or localhost depending on the current environment.
Nuxt setup:
In addition to my config in the dedicated section above, here is a minimal reproduction of the specific page I'm previewing in Sanity Studio:
[slug].vue
What is expected?
I would expect to see the latest draft of the post I'm previewing in my Sanity Studio preview iframe.
What is actually happening?
I can only see the latest published version.
Additional information
This seems to be a similar issue to 799 except I already have withCredentials set to true in my Nuxt config and yet I'm still not able to see drafts in my Sanity Studio iframe.
Checklist