The iframe src; only the /editor path is constant (ADR 0015). ?host=
carries the host's own origin, so the guest knows where to post
texbrain:ready and which origin to accept. Essential in prod: the host page
is a custom scheme and the referrer to a texbrain:// iframe is stripped, so
the guest's old referrer-derived origin was wrong and the bridge silently
never handed off.
The iframe
src; only the/editorpath is constant (ADR 0015).?host=carries the host's own origin, so the guest knows where to posttexbrain:readyand which origin to accept. Essential in prod: the host page is a custom scheme and the referrer to atexbrain://iframe is stripped, so the guest's old referrer-derived origin was wrong and the bridge silently never handed off.