Make WordPress Core

Opened 10 months ago

Last modified 9 months ago

#60151 assigned defect (bug)

FSE theme Styles select Issue

Reported by: tazeenehsan's profile tazeenehsan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: ui Cc:

Description (last modified by sabernhardt)

Hi,
I am a WordPress plugin developer. While developping a feature I found a bug in styling gutenberg block.

The issue is: Suppose I have four preset color. Ex. primary: #000000, secondary: #7345F7, tertiary: #f0f0f0, custom: #7345F7.

When select the color property of a block if I select "custom" both "custom" and "secondary" got selected and in the backend the "secondary" is saved but I did not choose the "secondary" option.

I think it selects based on color code rather than color slug.

Issue image link : https://drive.google.com/file/d/1j-b1MH4u_gdV7vbVxaDhffbgmNEUFfnA/view?usp=sharing

Thank You.

Regards
Tazeen Ehsan Teebro

Change History (1)

#1 @sabernhardt
10 months ago

  • Component changed from General to Editor
  • Description modified (diff)
  • Focuses ui added
Note: See TracTickets for help on using tickets.