Aspect-ratio property dropdown contains invalid suggestions


The suggested values in the aspect-ratio dropdown contain invalid css values. The correct format is either a decimal (e.g. 1.7) or a division (e.g. 16 / 9). The current suggested values are in the format “X:Y” (e.g. 16:9).

Step-by-step reproduction instructions:

  1. Open the Post Editor/Site Editor
  2. Select a block
  3. Open the Design > Sizing area in the property inspector
  4. Focus the aspect-ratio field

Screenshots, screen recording, code snippet

Environment info

  • WordPress version: 6.2.2
  • Cwicly Plugin version:
1 Like

Is this dropdown new?
Can’t remember seeing it when I used that property the last time.

Can confirm that using one of the dropdown values, the entire block styling breaks, as no properties will get applied anymore at all.

Hi @StrangeTech,

Thank you for taking the time to report this!

Indeed, there seems to have been a mishap with the format, which we’ll be sure to fix as soon as possible.

Apologies for the inconvenience.

Yes, this was added with with the free input.
Thank you as always, for confirming on your end @Marius :wink:

1 Like

Got you, I really missed that part. So many little things changed recently.
This is a welcome addition for the applicable properties.
I think @T-low brought that up here some time ago.

Hopefully, in case it makes sense, this can be extended to other properties in the future.

Thanks for hinting this @Araminta.

1 Like

@Louis, thank you! I can confirm from testing that this is now fixed in the latest version of Cwicly.

Hello @StrangeTech,

Thank you for confirming that, much appreciated.
For reference: