Composition / foldkit-mixins-builder

Limits

  • Rich text on the canvas is not edited in place: its Block's props are shown in the inspector.
  • A drag moves one node, the selected one; there is no multiple selection.
  • Two Builders on one page need different names: the inspector's form is placed under the Builder's name, and one drawn twice is a crash that says so. Its fields' ids are <Block>Settings-<prop>, so two Builders over one Catalog showing the same Block also share ids.
  • A drag does not scroll the layers or the canvas when the pointer nears an edge.
  • The viewport frame sets a width: --fk-frame-width on the frame, read by the Builder's one default rule (in components, so any application style overrides it). It does not load the page in an iframe, so the page's media queries see the editor's width. The frame is the page's container (PAGE_CONTAINER), so a look written with container queries or cqi units follows the frame: see Theme.inContainer.