Skip to content

Alignment: latest posts block reapplies aligncenter on save even if it was deselected #7911

@designsimply

Description

@designsimply

Moved from #4010 h/t @bradyvercher.

Steps to reproduce:

  1. Insert a latest posts block.
  2. Select the center alignment option in the block toolbar.
  3. Deselect the center alignment option in the block toolbar.
  4. Publish the post.

Result: the class is aligncenter even though alignment was deselected.

screen shot 2018-07-11 at wed jul 11 6 07 28 pmSeen at http://alittletestblog.com/2018/07/11/latest-posts-block/ running WordPress 4.9.7 and Gutenberg 3.2.0 using Firefox 61.0.1 on macOS 10.13.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] BlocksOverall functionality of blocks[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