mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
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