Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

The default font size setting for the Paragraph block displays a wrong and misleading value #958

Closed
YanCol opened this issue Nov 6, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@YanCol
Copy link
Contributor

YanCol commented Nov 6, 2019

Currently, every time the user inserts a new paragraph block, it shows that the font size is set to Small which is not true (it's actually Regular).

It's very confusing for the user:

If the user wants a Regular text
The user might try to change the value from Small to Regular and there won't be any visible change (it only adds an unnecessary has-regular-font-size class)

If the user wants a Small text
The user must first change the value from Small to Regularand then change it back from Regularto Small.

This bug has been tackled in previous issues and PR but the result is IMO the most confusing solution.

A solution (without affecting the string freeze) is to display the Regular option first in the dropdown.

@carolinan
Copy link
Contributor

carolinan commented Nov 6, 2019

There are already 2 issues regarding this.

One does seem to have been closed already but this one is still open: #912

@carolinan carolinan added the duplicate This issue or pull request already exists label Nov 6, 2019
@pattonwebz
Copy link
Member

I merged a change which results in the Regular size being displayed first in the dropdown by changing the slug to normal which means alphanumeric sorting handles the placement where it needs to be for now. Merged in #989

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants