Open SH4LIN opened 1 month ago
Thanks @SH4LIN for the report! There is a already existing issue for this: https://github.com/WordPress/gutenberg/issues/42683
@annezazu Could you please add the other issue to the polish board? I have created the same bug report (which was on the Polish board) a year ago and it'd be wonderful if we could get some traction on this kind of issues.
Description
When you have two font sizes with the same value but different slugs, selecting the second item will automatically select the first matching font value.
This is problematic when you use fluid typography for example there is one font size with a value of
1rem
it's max value is1rem
and min value is0.875rem
and there is another font size with a value of1rem
it's max value is1rem
and min value is0.5rem
in that case the current implementation doesn't work.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress version: Latest
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.