Skip to content

EditorEntryCta

EditorEntryCta(__namedParameters): ReactNode

A small, floating, dismissable “Edit in Composer” button. Renders only when this browser carries the marker cookie a Composer session pushed here and the current page resolves to a real Content-delivered node.

It resolves only when it could actually render — with no marker cookie, or once dismissed, it never asks for anything, so an ordinary visitor pays nothing for it. A host page that resolves a different path than the one passed here would otherwise pay for a whole cold /sites + /locales + /path chain to build a button it never shows.

Mounts into a Shadow DOM so an arbitrary host page’s own global CSS can never reach in, and this component’s own styles can never leak out.

EditorEntryCtaProps

ReactNode