[wp-trac] [WordPress Trac] #60151: FSE theme Styles select Issue

WordPress Trac noreply at wordpress.org
Tue Dec 26 16:23:47 UTC 2023


#60151: FSE theme Styles select Issue
--------------------------+------------------------------
 Reporter:  tazeenehsan   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui
--------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:   => ui
 * component:  General => Editor


Old description:

> Hi,
> I am a wordpres 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
> email: tazeenehsan74 at gmail.com

New description:

 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

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60151#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list