@parhelia/editor-bridge-head
v0.1.12888
Published
Bridge head package for the Parhelia cross-origin editing bridge.
Readme
Parhelia Editor Bridge Head
Bridge head package for the Parhelia cross-origin editing bridge.
It contains the shared protocol types, runtime guards, a browser bootstrapper, and generated host artifacts for raw script integrations.
Use startParheliaBridgeHead() for framework-agnostic bundled integrations.
Use @parhelia/editor-bridge-head-react when rendering from React.
Both approaches connect to the parent editor, receive the canonical bridge URL,
validate it, and inject the full bridge script. Consuming apps do not need to
copy bridge files or expose package files from public.
Debugging
Enable bridge message logging in the browser console with either:
localStorage.setItem("parhelia:bridge:debug", "1");or by adding parhelia_bridge_debug=1 to the editor and rendering host URLs.
Logs are emitted as collapsed console groups named [Parhelia bridge] ....
Fields with names like token, secret, signedContext, or sessionId are
redacted before logging.
