Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chthonic-ds opened this issue Jun 15, 2021 · 2 comments
Labels
[Block] Pullquote Affects the Pullquote Block [Type] Enhancement A suggestion for improvement.

Comments

@chthonic-ds
Copy link
Contributor

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

  • WordPress version: 5.8-beta1
  • Gutenberg version: 10.8
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes, Twenty Twenty-One and TT1 Blocks

Device information

  • Device: Desktop
  • Operating system: Windows 10
  • Browser: Chrome 91.0.4472.101
@Mamaduka Mamaduka added the [Block] Pullquote Affects the Pullquote Block label Jun 16, 2021
@Mamaduka
Copy link
Member

I think this was fixed via #32810.

@chthonic-ds
Copy link
Contributor Author

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:

  • Custom layout with empty/reset values: available child alignments are left and right
  • Custom layout with values defined: available child alignments are wide and full width
  • With "inherit default layout" active: child alignments are wide and full width

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.

@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Pullquote Affects the Pullquote Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants