Skip to content

Block Group: Missing alignment options and styles when using a Classic theme #62326

@arpadkdweb

Description

@arpadkdweb

Description

Pattern editor in classic theme does not allow wide and full alignment options whether it's a synced or unsynced pattern. I expect the same block supports settings to be available in the pattern editor as in the post editor.

Also, it makes sense to create patterns or even complex full page pattern templates that go full width.

The pattern in my classic theme is constrained to container width.

Step-by-step reproduction instructions

  1. Go to appearance > patterns
  2. Add a group block or any block that supports wide or full alignment
  3. The settings are missing from the icon toolbar
  4. If you try to add the same block in a post editor, the alignment options appear

Screenshots, screen recording, code snippet

Pattern editor
image

Post editor
image

Environment info

  • WordPress 6.5.3
  • Using a custom classic theme (site editor is disabled), but reproducable in twentytwentyfour as well
  • Tried with Gutenberg 18.4.1 and without as well

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backwards CompatibilityIssues or PRs that impact backwards compatability[Block] GroupAffects the Group Block (and row, stack and grid variants)[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] DiscussionFor issues that are high-level and not yet ready to implement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions