Editing code in the quick editor doesn't update for block classes

Description:

With global classes, if you accidentally put a style into the wrong breakpoint, you can go into the quick editor and move it into another breakpoint (e.g. base) and this automatically updates the class.

When you attempt to do this for a block class, after you close the quick editor it just resets to how it was before.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

Setup: mobile first breakpoints

  1. Open the Site Editor
  2. Select a block
  3. Add a style to a block on the lg breakpoint (e.g. order: -1;)
  4. Open the quick editor for the block (e.g. with alt+click on the navigator item)
  5. Move the style from the lg breakpoint to the base breakpoint within the quick editor
  6. Notice the block style has not updated

Environment info

  • WordPress version: 6.5
  • Cwicly Plugin version: 1.4.1.3

Hello @StrangeTech,

Thanks for the report.

Unfortunately, I’m not able to reproduce this on my end for any other property than the order one that does not seem to be registering correctly (we’ll have a fix for this in the next update).

Is this happening to other properties as well on your end?

Thanks in advance.

Cheers,

Hello @Louis,

Thank you for confirming it is an issue with the order property. We didn’t explicitly test with any other properties, we just wanted to report this issue as we encountered it specifically with the order property as mentioned. It may occur with other properties but I can’t confirm.

1 Like

Hello @StrangeTech,

The order editing issue in Quick Code is addressed in 1.4.1.4.

Cheers,

2 Likes

Thank you @Louis. Will test this today.

1 Like