IslandEditor
What a `"use client"` island must declare about its editor-canvas behavior.
What a "use client" island must declare about its editor-canvas behavior.
One field, and the switch it names is binary: a live island runs exactly its
published behavior in the canvas, a non-live one is its static SSR content.
Everything else the canvas needs — shield placement, selection — is derived
from the island’s own markup or read through useEditor, never declared here.
An explicit false is a decision; a missing field was an accident wearing a
decision’s clothes.
Import from @homepages/template-kit or @homepages/template-kit/island-runtime.
Signature
Section titled “Signature”export interface IslandEditor { live: boolean;}See also
Section titled “See also”deserializeIslandPropsislandIdserializeIslandPropsATTR_ISLAND_FRAMELESSATTR_ISLAND_IDATTR_ISLAND_KEYATTR_ISLAND_PROPSEDITOR_BRIDGE_PROPEDITOR_BRIDGE_PROTOCOLISLAND_CAPTURE_HOLDS_GLOBALISLAND_ELEMENTIslandPropsErrorEditorBridgeIslandModuleEditorBridgeSelectionEditorSelectionIslandComponentIslandEditorOptionsIslandPropsIslandServerFrame