Skip to content

wp-block classname being applied twice to blocks #24367

Closed

Description

@talldan

Describe the bug
Blocks in the editor have the wp-block classname twice applied to their DOM element:
Screenshot 2020-08-05 at 12 43 05 pm

Not sure this actually causes any issues, but it would be a nice thing to tidy up.

To reproduce
Steps to reproduce the behavior:

  1. Add some blocks
  2. Inspect the block classnames
  3. Observe the duplicate

Expected behavior
Blocks don't have duplicated classnames.

Activity

  1. added
    [Feature] Blocks
    Good First Issue
    [Type] Code Quality
    on Aug 5, 2020
  2. talldan commented on Aug 22, 2020

    @talldan
    ContributorAuthor

    Closed by #24466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issue[Feature] Blocks[Type] Code Quality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions