Skip to content

Styles: Unable to open the typography and colors panel after setting a split border to a block #60830

@arthur791004

Description

@arthur791004

Description

When people set a split border to a block, Gutenberg will set the default value of the color, style, and width properties to null. Next, if you go to either Styles > Typography or Styles > Colors, it will display the error, The editor has encountered an unexpected error.

image

Step-by-step reproduction instructions

  1. Go to Styles > Blocks
  2. Pick a block, e.g.: Image
  3. Scroll to the Border section, and click the Unlink sides icon to split the border
  4. Change any side and save
  5. Go to either Styles > Typography or Styles > Colors
  6. The error shows

Screenshots, screen recording, code snippet

No response

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

Labels

[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

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