WordPress / gutenberg

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

Pullquote block: alignment options differ between "classic" and "block" themes #32684

Open chthonic-ds opened 3 years ago

chthonic-ds commented 3 years ago

Description

The alignment options for the Pullquote block are different depending on the active theme.

Step-by-step reproduction instructions

Starting with Twenty Twenty-One as the active theme:

  1. Add a Pullquote block to a new page.
  2. Click the Alignment icon to reveal four options are available: Align left, Align right, Wide width, and Full width.
  3. Change the active theme to TT1 blocks.
  4. Add a Pullquote block to a new page.
  5. Click the Alignment icon to reveal two options are available: Wide width and Full width.

Expected behaviour

The Pullquote block will have the same alignment options available regardless of active theme.

Actual behaviour

Available alignment options differ depending on the active theme.

Screenshots or screen recording (optional)

Twenty Twenty-One pullquote-twenty-twenty-one

TT1 Blocks pullquote-tt1-blocks

WordPress information

Device information

Mamaduka commented 3 years ago

I think this was fixed via #32810.

chthonic-ds commented 3 years ago

I've just tested this again, here's what I'm seeing when following the steps below (from #32810):

Add a container block with a layout define (inherit or custom both work) See that you can align left/right blocks inside that container

With TT1 Blocks theme active, using a Group block as container block and pullquote as child block:

pullquote-alignment-tt1-blocks-layout-variations-290621

I'm still seeing the same behaviour as initially described when switching between TT1 Blocks and Twenty Twenty-One. To be clear, this happens without a container block/layout defined to wrap the Pullquote block.