tomusborne / generateblocks

GenerateBlocks is a small collection of lightweight WordPress blocks that can accomplish nearly anything.
https://generateblocks.com
194 stars 19 forks source link

Allow for keyboard up/down nudges when setting values #1077

Closed codysmith44 closed 10 months ago

codysmith44 commented 1 year ago

Description

I wasn't sure how else to label this, but I'd love to be able to "nudge" values. Core blocks allow this...just use the up/down key on the keyboard to increment values +/- 1, or shift-up/shift-down to increment in values of 10.

Bonus points to allow going into the "negative" for negative/overlapping margins, etc. (Default blocks don't allow negative nudges.)

Could this be implemented in GenerateBlocks?

Calvin-Susan commented 1 year ago

Description

I wasn't sure how else to label this, but I'd love to be able to "nudge" values. Core blocks allow this...just use the up/down key on the keyboard to increment values +/- 1, or shift-up/shift-down to increment in values of 10.

Bonus points to allow going into the "negative" for negative/overlapping margins, etc. (Default blocks don't allow negative nudges.)

Could this be implemented in GenerateBlocks?

+1. I'm constantly trying to bump up values with my arrows only to realize it doesn't work. In any number field, I think this should be implemented.

diggeddy commented 10 months ago

Closing for newer dupe here: https://github.com/tomusborne/generateblocks/issues/1135