I’m using Dato CMS together with Next.js and the new preview feature released in 9.3.
It’s working fine so far and I’m able to bypass the static site and live preview changed content by manually open the relative url (e.g. /api/preview?secret=SECRET&slug=some-post).
What I’d like to have now is a button somewhere in the sidebar or at the top were a user can click to prevent manually entering the url. I tried the following 3 plugins which all didn’t work for me:
Before I start writing my own plugin, what’s the recommended approach here?
Would you maybe consider adding a permanent preview button (next to Deployment status?) like prismic does it? This is super convenient and one thing that I’m missing from Dato CMS.
Thanks for your feedback,