engine: 'insertable: false' sidecar flag; apply to the html element #90
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
A new element sidecar flag
insertable: falsethat removes an element from the insert picker while keeping already-placed instances fully visible and editable in the element tree, edit forms, and preview. This is distinct fromhidden: true(which suppresses tree and picker entirely and is only right for items-collection children likeimg).Apply the flag to
scaffold/editor/elements/html.yaml— the sidecar's own comment promises this follow-up. The "developer only" labeling can stay, but the element must no longer appear in the picker.Acceptance criteria
insertable: false(default true); invalid values rejected with a clear errorhtmlelements remain visible in the tree, editable, movable, and render in preview/publishhtml.yamlsetsinsertable: falseand drops its now-stale "picker-hiding flag will follow" commentscaffold/site/AGENTS.mddocuments the flag in the sidecar schema section (same change, per CLAUDE.md)Blocked by
None - can start immediately
Triage confirmed — enhancement, ready-for-agent. The issue body is the authoritative agent brief.
Verified against the codebase:
html.yaml's own header comment promises exactly this picker-hiding follow-up;hidden: trueexists in the element schema and is semantically distinct as described; noinsertableflag exists yet anywhere in engine or web. Remember the CLAUDE.md rule:scaffold/site/AGENTS.mdmust be updated in the same change (already in the criteria).