Skip to content

Commit

Permalink
fix(quick-edit): disable autosave (#6558)
Browse files Browse the repository at this point in the history
* fix(quick-edit): disable autosave

* Create forty-taxis-live.md
  • Loading branch information
edmundhung authored Aug 27, 2024
1 parent da48a70 commit 2a5b648
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-taxis-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cloudflare/quick-edit": patch
---

fix: disable autosave on quick editor to avoid context reset without explicit user action
1 change: 1 addition & 0 deletions packages/quick-edit/functions/_middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const onRequest = async ({
: "Solarflare Light",
"workbench.startupEditor": "none",
"editor.minimap.autohide": true,
"files.autoSave": "off",
"files.exclude": {
"*.d.ts": true,
"jsconfig.json": true,
Expand Down

0 comments on commit 2a5b648

Please sign in to comment.