Skip to content

Default style variation label to match the is-style-default class name #13660

@mapk

Description

@mapk

Problem

The style variation for the separator block has the class is-style-default in the code, but reflects the style variant as "Short line". Thanks to @webmandesign for this find! While the issue #10569 and PR #10570 suggest a change from default to short to match the name, it seems to lock in themes to use a 'short' line as their default. I believe @jasmussen explained it well in the PR review in #10570.

Solution

Any block with style variations should reflect the word "Default" in the style variation preview as shown below.

default

This should apply to:

  • Separator block
  • Blockquote block
  • Pullquote block
  • Table block
  • Button block

cc @jasmussen & @kjellr Does this sound right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    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