From 6e38b724f2bf96651ba93ab2d74f6d0c6f452ebc Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Mon, 24 Jun 2024 17:04:47 +0200 Subject: [PATCH] feat: enable default autosave in editors --- .../unreleased/enhancement-enable-default-editor-autosave | 6 ++++++ .../web-pkg/src/composables/piniaStores/config/config.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/enhancement-enable-default-editor-autosave diff --git a/changelog/unreleased/enhancement-enable-default-editor-autosave b/changelog/unreleased/enhancement-enable-default-editor-autosave new file mode 100644 index 00000000000..9384677f3e0 --- /dev/null +++ b/changelog/unreleased/enhancement-enable-default-editor-autosave @@ -0,0 +1,6 @@ +Enhancement: Enable default autosave in editors + +Autosaving every 2 minutes in any editor is now the default behaviour. + +https://github.com/owncloud/web/pull/11093 +https://github.com/owncloud/web/issues/11090 diff --git a/packages/web-pkg/src/composables/piniaStores/config/config.ts b/packages/web-pkg/src/composables/piniaStores/config/config.ts index 343d045d852..5dd265ff619 100644 --- a/packages/web-pkg/src/composables/piniaStores/config/config.ts +++ b/packages/web-pkg/src/composables/piniaStores/config/config.ts @@ -23,7 +23,7 @@ const defaultOptions = { displayResourcesLazy: true, displayThumbnails: true, editor: { - autosaveEnabled: false, + autosaveEnabled: true, autosaveInterval: 120 }, embed: {