cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

CSS styles not saving #850

Open TobyKLight opened 2 months ago

TobyKLight commented 2 months ago

This bug is unfortunately both -intermittent and -so far only occuring on complicated proprietary patches that I can't share.

But I thought I would share some knowledge about this bug in case others run into it and then we can try to pin down a cause.

Describe the bug The bug is that updated content in the CSS op sometimes does not get saved. It does show properly in the editor preview window but if you check your patch with 'view patch page' it will not be reflected in the version of your patch loaded in that new page..

Saving appears to complete properly for both the CSS text editor window and for the patch itself.

Closing and reopening the CSS text editor tab and saving again does not seem to help. The reopened tab will show the correct yet technically unsaved CSS, and this CSS continues to be displayed accurately in the editor preview window.

I only notice this on my most complicated patches, which so far all belong to one large project so not sure if it's something about that project. Sometimes I don't notice it for hours and sometimes it happens every time I want to update the CSS.

Workaround Select all your CSS and copy it into a text editor Refresh the page Paste the complete CSS back in (replacing the old CSS) and save.

Platform Seen this on Chrome 127 + 128 on Windows 10 and 11.