tomusborne / generateblocks

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

Allow Unitless line-height value in Typography. #1173

Closed diggeddy closed 7 months ago

diggeddy commented 8 months ago

Description

Our fancy unit picker doesn't allow unitless values which is important for line-height. Can we add it ? And how would that look ?

diggeddy commented 8 months ago

oooh did we do this to GP too ?

tomusborne commented 8 months ago

GP has this in the upcoming 3.4 (really need to release that).

Didn't add it to local block attributes in GB due to backward-compatibility. However, we should add it as an option in the styles builder before we release.

dgwyer commented 8 months ago

This has been added to GBP in the styles builder in PR #449.

tomusborne commented 7 months ago

Just noticed this is for the free version.

We'll be integrating the new style builder into the free version soon, so this will be a thing then.