Open jordesign opened 2 months ago
I think this is a great suggestion.
However, since the backgroud-repeat
property can use four properties, repeat
, no-repeat
, space
, and round
, I think we need to consider how much support we need to provide.
I would like to suggest some design ideas.
Use ToggleGroupControl
Use SelectControl
repeat
and no-repeat
are supportedUse ToggleGroupControl
Use ToggleControl
Use SelectControl
cc @ramonjd @WordPress/gutenberg-design
Thanks for the issue.
I think @t-hamano is right - most of the heavy thinking on adding support will be how to present the design tools. ππ»
I'll also add this issue tentatively to the tracking issue.
I would lean towards the SelectControl
design (with the addition of a 'None' option) to begin with. round
and space
seem very niche to me.
Currently it is possible to set 'repeat' on background images (assigned to blocks). It would be good to be able to select repeat-x or repeat-y as well for greater control