diff --git a/web/editor.tsx b/web/editor.tsx index dc838d3c..22c0dc84 100644 --- a/web/editor.tsx +++ b/web/editor.tsx @@ -278,6 +278,9 @@ export class Editor { this.saveTimeout = setTimeout( () => { if (this.currentPage) { + if (!this.viewState.unsavedChanges) { + return resolve(); + } console.log("Saving page", this.currentPage); this.space .writePage(