mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +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.