clutch-creator / clutch

The Next Website Builder for High-Performance Marketing
https://clutch.io
MIT License
50 stars 4 forks source link

Code editor syntax highlighting issue #29

Open daprieu opened 1 year ago

daprieu commented 1 year ago

How to reproduce

  1. Open project
  2. got to home page
  3. click on the content section of the home page
  4. open the data prop code editor
  5. add a comment to the file
  6. click save
  7. fetch will fail and syntax highlighting disapears

Describe the bug

When a bug is introduced to code in the Clutch code editor syntax highlighting will stop working.

Expected behavior

code editor should not loose syntax highlighting. If I close the code editor and then open again the highlighting comes back.

Operating System

macOS 13.5

Clutch Version

Desktop: 1.201.0 | Interface: v1.204.0 PROD ENV

Other

No response