mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
Here I removed "rich-text" type from components. Instead "container" can be edited when has only text or rich text children. And any time user can drop into editablle container which will wrap all text and rich text children into "Span" component. Had to implement position adjustment to consider text children which do not have representation in navigator tree and canvas dnd. Span has temporary SpanContainer name to not conflict with existinig Span for styled text in rich text. Will rename in other PR when remove no longer necessary components.
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