Code editor.

A real code editor in the browser, with syntax highlighting, line numbers, and a save shortcut.

Which files it opens for

Clicking a file in the file manager opens it in the editor if its extension is one of:

TypeExtensionsHighlighting
HTMLhtml, htmHTML with embedded CSS/JS
StylescssCSS
ScriptsjsJavaScript
DatajsonJavaScript, JSON mode
Markupxml, svgXML
DocsmdMarkdown
Plain texttxtNone, just monospace

Anything else, images, fonts, icons, doesn't open here. See file manager for how those are handled instead.

Editing

The editor has line numbers and wraps long lines instead of scrolling sideways. It's a plain text editor with syntax coloring, there's no autocomplete, linting, or live preview.

Saving

Click Save, or press Ctrl+S (Cmd+S on macOS) while the editor has focus. A small "Saved." confirmation appears briefly next to the button. Saving writes the file back immediately, there's no separate publish step for individual files, see publishing for what controls public visibility instead.

There's no autosave. Closing the editor panel or navigating away before saving discards whatever you typed, with no warning prompt. Save before you close if you want to keep changes.

Creating a new text file

There's no "new file" button in the editor itself. To create one, upload a file with the content you want (even an empty placeholder), then open and edit it from there. The simplest path for something like a new page is to write it locally and upload it, or upload a blank .html file and build it up directly in the editor.