Overview
The collection editor uses a 3-column block layout system with 24 block types. Collections are built from a canvas of positioned elements that can be arranged, resized, and styled.Layout
- Canvas width: 1336px
- Column width: 437px (3 columns)
- Column gap: 24px
- Grid size: 20px
Block Types (24)
Content Types
Blocks store content as JSON in thecontent field of PageElement records. Each block type defines its own content schema. For example:
- post:
{ linked_post_id, platform, external_url, title, thumbnail_url } - image:
{ url, alt, caption } - heading:
{ text, level } - bar_chart:
{ title, data, config }
Rendering
Collections are rendered in two contexts:- Editor (
UnifiedCollectionEditor.js): Full drag-drop editing with double-click content editing - Viewer (
collection-block-renderer.js): Read-only rendering for published collections