Skip to content

Commit a633f7a

Browse files
committed
feat(axiom): activate drafts and autosave for all documents by default
1 parent d003a8f commit a633f7a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libs/cms/configs/client.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,13 @@ export const adminConfig = {
5656
export const clientConfig = {
5757
editor: lexicalEditor({}),
5858
theme: 'dark', // CREDITS: github.com/akhrarovsaid/payload-theme-quantum-leap
59+
versions: {
60+
drafts: {
61+
autosave: {
62+
interval: 100,
63+
},
64+
schedulePublish: true,
65+
},
66+
maxPerDoc: 20,
67+
},
5968
}

0 commit comments

Comments
 (0)