Selecting a global colour/variable for a text colour in a relative style causes issue

Description:

When selecting a global colour or variable for a text colour in a relative style a strange duplicate colour appears and the variable is not displayed correctly.

Step-by-step reproduction instructions:

  1. Open the Post Editor/Site Editor
  2. Add a global class to a block
  3. Add a relative style to the global class
  4. Select a global colour for the text colour
  5. Note the strange duplicate colour state that is added
  6. Also note that when returning you see var( shown in the input field instead of the correct value
  7. Also note that the block shows as “This block cannot be displayed due to an error” intermittently for the block

Screenshots, screen recording, code snippet

Initially:

After returning to the block:

Environment info

  • WordPress version: 6.4.1
  • Cwicly Plugin version: 1.3.4.2

This appears to be fixed in 1.3.4.3 - probably by:

Thank you @Louis and the Cwicly team for the fast fix!

1 Like

Hello @StrangeTech,

Thanks for the report on this one!

This should be fixed in 1.3.4.3 as you stated.
If you still have trouble with this, please let me know by replying to this thread.

Cheers,

1 Like