Skip to content

Accordion Panel: Image alignment not applied #71769

@bph

Description

@bph

Description

In the post/page editor, when I assign an image align right above a paragraph block, the image is place to the right of the paragraph.

Image

When I use the Accordion Block and try the same layout in the accordion panel, it doesn't work. The image stays on top of the paragraph.

Image

Step-by-step reproduction instructions

  1. Install the latest Gutenberg plugin
  2. Go to Gutenberg > Experiments and enable "Blocks: add experimental blocks."
  3. Create a post and add an accordion block
  4. Add first an image and then a paragraph to the panel.
  5. From the image toolbar, select from the "Align" drop-down: Align right.

Nothing changes.

Screenshots, screen recording, code snippet

See above

Environment info

WordPress 6.8.2
Gutenberg 21.6

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions