Skip to content
HomePagesHomePages template kit

ATTR_SLOT_UNSELECTABLE

Presence flag on a marked element declaring it a non-selectable rendering.

Presence flag on a marked element declaring it a non-selectable rendering. The copy keeps full identity — patchers and the crop treatment still reach it — but the canvas never selects, outlines, scrolls to, or live-stamps it, and a click on it falls through exactly as on unmarked markup. Coverage gates count no flagged copy, so a slot needs at least one rendering without this flag.

Import from @homepages/template-kit.

const ATTR_SLOT_UNSELECTABLE: "data-slot-unselectable"