sanity-io / sanity-plugin-iframe-pane

Display any URL in a View Pane, along with helpful buttons to copy the URL, display a mobile size, reload the iframe or open in a new tab
MIT License
47 stars 13 forks source link

Active preview for a document in the first panel #35

Closed thierryteyssier closed 1 year ago

thierryteyssier commented 1 year ago

How can I active preview on a document in the first panel? For example to check settings or home page?

With a structure like: S.divider(), S.listItem() .title("Settings") .icon(TagIcon) .child( S.document() .title("Settings") .schemaType("settings") .documentId("settings") )