mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2532 Here added a "core" collection component to support iterating over json arrays. There is a lot of room for unification of all this logic though would require building reactive tree abstraction. Canvas automatically renders stub component for collection to make it droppable. We can do the same for slot component. Slot and Fragment eventually will go to "core" components too. Added json/parameter prop types to embed template to support collection. Fixed loosing focus while typing in json prop. ## Steps for reproduction 1. Drop collection component 2. play with it