I have previews working with NextJS following this article: https://prismic.io/docs/reactjs/getting-started/prismic-nextjs. I have also added the prismic toolbar (which is not called out in the guide, but seems to work).
Why are we unable to exit the preview session by simply clicking the “X” in the toolbar? This seems to work with other frameworks (e.g. Gatsby).
Telling a non-technical user to url hack to /api/exit-preview is…less than ideal. Are there any other ways we might be able to accomplish this?