Composition / foldkit-mixins-builder

Limits

  • Rich text on the canvas is edited in the inspector rather than inline.
  • A drag moves one selected node at a time.
  • Two Builders on one page need different names: the inspector's form is placed under the Builder's name, and one drawn twice crashes naming the duplicate. Its fields' ids are <Block>Settings-<prop>, so two Builders over one Catalog showing the same Block also share ids.
  • The grip sits above the selected node's top edge, so a page whose first node touches the top of the canvas needs top padding for it. Its menu uses CSS anchor positioning and falls back to the window center in unsupported browsers. Touch users hold the grip to drag or tap it to open the menu.
  • The viewport frame sets --fk-frame-width on the frame, read by the Builder's default rule (in components, so any application style overrides it). Because the frame renders inline rather than in an iframe, media queries see the editor's width; write responsive block rules with container queries or cqi units against PAGE_CONTAINER (Theme.inContainer).

Next