gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Use input + range combo control in column block width

Open richtabor opened this issue 3 years ago • 3 comments

I expect the input + range control, as seen HeightControl to be used within the column block, instead of what we have in place today — where you are expected to manually enter the value each time.

It could be interesting to explore 10% increment steps in the RangeControl, if set to percentages (which I think should be the default unit for the width control anyhow.

Visuals

CleanShot 2023-11-24 at 14 53 54

CleanShot 2023-11-24 at 14 54 16

richtabor avatar Nov 24 '23 19:11 richtabor

I agree with this preference and would expand on this. I would like to have a preference in settings/styles where I can set my default preferred values for section, div, and even paragraphs: %, vw, calc, em, rem, and then these values are used and made available as described here. This is available in every visual editor, from Photoshop, Illustrator, and Figma to many website solutions.

gravnetic avatar Feb 01 '24 19:02 gravnetic

Love this and the idea that we could opt into loading with % by default, instead of pixels.

I would just point out that 10% increments feel pretty arbitrary. What are the most common column patterns? I'd bet 50/50, 66/33, 33/33/33, 25/75, or percentages based on a 12-col grid. Very few of those real-world situations would apply to a 10% step.

bacoords avatar Feb 06 '24 18:02 bacoords

Related:

  • https://github.com/WordPress/gutenberg/issues/55259

cbirdsong avatar May 02 '24 12:05 cbirdsong