WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Global Styles: H1-H6 headings missing, only one Heading available #31695

Closed Sandstromer closed 3 years ago

Sandstromer commented 3 years ago

Description

In 10.6.0-RC1, the global styles for H1, H2, H3, H4, H5, H6 are missing in the side panel of the Site Editor.

Step-by-step reproduction instructions

Install 10.6.0-rc1 and a FSE theme. Go into Site Editor and open the Global Styles side panel, and go to By Block Type

Expected behaviour

Should be able to set font size, line height, color etc for each heading (H1 to H6) individually.

Actual behaviour

There is only one 'Heading' available to select.

Screenshots or screen recording (optional)

Previously in 10.5.4

gutenberg-gs-headings-all

10.6.0-rc1

gutenberg-gs-heading

Code snippet (optional)

WordPress information

Device information

paaljoachim commented 3 years ago

It sounds like a regression. Can you take a look @nosolosw ?

oandregal commented 3 years ago

:wave:

This is expected. We're moving away from exposing many UI sections for the same block (see for rationale). The UI for the new elements is not yet ready but the latest mockups can be seen at https://github.com/WordPress/gutenberg/issues/27473#issuecomment-796773866