Files
webstudio/packages/react-sdk
Bogdan Chadkin b4bf640dcc Replace flags with component type (#532)
Boolean flags may have a lot of combinations which can lead to
unexpected bugs. Better approach is to categorize nodes with specific
behaviours.

Here I added 5 types

- container - can accept other components with dnd
- control - usually form controls like inputs, without children
- embed - images, videos or other embeddable components, without
children
- rich-text - can be edited on double click
- rich-text-child - formatted text fragment, not listed in components
list
2022-11-28 15:04:53 +03:00
..
2022-11-04 19:03:51 +01:00
2022-07-18 22:11:02 +02:00
2022-11-09 06:07:48 +00:00
2022-11-27 13:48:26 +03:00
2022-07-18 22:11:02 +02:00
2022-11-27 13:48:26 +03:00

Webstudio SDK

Webstudio SDK is a TypeScript API that lets you use your Webstudio site or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site