Open diggeddy opened 3 weeks ago
@diggeddy We would need some way to tell it's a Container shape vs a regular shape. I suppose we could check the class name?
Not sure about that icon.
Me neither lol Ill have a think. So the Container Shape isn't a variant ? Do we like the logic we used here? - it concerns me that the one block has 2 different outcomes depending on how / where it was added
Well it's just the Shape block with different styles. I don't think it makes sense to have a completely different block just to have different styles.
We can target it via class name (we already do this to open the library to the dividers), and change the block label/icon.
Description
Currently there is no way to distinguish a Container Shape vs an ordinary Shape. A simple fix would be to change the icon of the Container Shape and perhaps make its Label: Container Shape
Here is the SVG code for a new Container Shape Icon:
And for visual reference the new icon is the last in the list: