hero.js + hero.css) and Cairn opens them together in a paired editor: one screen, two panels. Each script in the pair keeps its own version history and publish state.
Editor
The script editor splits the screen into JS and CSS panels. Both have:- Syntax highlighting and autocomplete (CodeMirror).
- Format-on-save.
- A constrained vs. wide layout toggle (your preference is remembered per device).
Versions
Every save writes a newscript_version row. From the version history sidebar you can:
- Diff any two versions.
- Restore an earlier version (this creates a new version, so nothing is lost).
- See who shipped what, and when.