Skip to content

6.0 Upgrade Does Not Keep Image Alignment  #41365

@ObviousInvestor

Description

@ObviousInvestor

Description

Pages compiled with latest 6.0 version aligns images left on update if they are set to align center. Align right works, but it does not respect images set to align center.

When I update a page in 6.0 (even without changing anything), all images on that page that have alignment set to "Center" align left.

This is quite serious as it stops me from being able to edit a page without messing everything up.

Step-by-step reproduction instructions

Just update any page with 6.0 editor and problem occurs

You can see in the attached image, the blue "Numbers updated" image and the yellow meme are both images set to center alignment.

Screenshots, screen recording, code snippet

Screenshot - 26_05_2022 , 09_04_37

Environment info

No response

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

    [Block] ImageAffects the Image Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions