Development Domain Issue

Hi there,

i am facing an issue when using cwicly in a dev environment hosted with local. The bug occurs when I use a dev domain like “.dev”. The cwicly block are showing up correctly at the editor, but not in the preview. When I change the domain to something like “.com” the bug is gone.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Create a local dev with “.dev”
  2. Install cwicly plugin and refresh connection, regenerate html, css, etc.
  3. Open Editor and put in a template block. (everything is fine till here)

  1. Open live view (it’s not showing up correctly)

  1. Change the domain to something like “.com”
  2. Login to wordpress again
  3. Open the live view of the website (everything is fine)

Is somebody else facing this issue?

Environment info

  • WordPress version: 6.1
  • Cwicly Plugin version:

Any errors in your console?

Make sure to set your domain inside the general settings (wp admin) to https.
It seems your stylesheet won’t load on front-end.
.dev domains are being treated differently by browsers, which might cause different behaviors in your case.

Yep, that fixed it. thanks :+1: