Skip to content

PreviewBridge

PreviewBridge(props): ReactNode

The site’s end of the live-preview bridge. Inert — renders children unchanged and registers nothing — unless this page was framed or opened by another window and its URL carries ?ebitex-preview=1. Once activated it announces itself, accepts document messages only from origins, and renders each one through the controlled <Experience result> in place of whatever the children would have fetched: the site’s own renderers, the draft’s content, no request and no credential. In Edit mode it draws the pins.

PreviewBridgeProps

ReactNode