Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/cloud-editor-files-saving.md

This file was deleted.

10 changes: 10 additions & 0 deletions platforms/cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @hyperbook/cloud

## 0.10.0

### Minor Changes

- [`c9d911c`](https://github.com/openpatch/hyperbook/commit/c9d911c47ee82b6f50c2a4e29d53e95d07924ceb) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - The cloud editor's file tree names files in place: New file, New folder and Rename turn a row into a text field in the right folder, so only a name is typed, never a whole path. A name without an extension in book/ or glossary/ becomes a page, and a new folder's index.md is named after the folder. The tree knows where you are: the folder last clicked, or the open file's folder, is where new files and uploads go. Several files can be selected with Ctrl/Cmd- and Shift-click, then moved, copied, cut or deleted together, and the tree works from the keyboard (arrows, Home/End, F2, Delete, Ctrl/Cmd+C/X/V).

Pictures and other files dropped or pasted into a page (a screenshot, say) are uploaded next to it and linked; files dragged from the tree are linked too. Paths complete in HTML `src`, `href` and `poster` attributes as well.

Unsaved text is kept as a draft in the browser and comes back after a closed tab or a crash. The editor saves by itself after a pause in typing and when the browser tab is left ("Save automatically" in the editor settings, on by default). The History pane shows one person's saves in a row as one entry with their combined changes, which unfolds into the single saves.

## 0.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion platforms/cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbook/cloud",
"version": "0.9.0",
"version": "0.10.0",
"private": true,
"type": "module",
"engines": {
Expand Down