From 637d1df0f597849d8c4bfc3ad53b6863bf665ba3 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 18 Jan 2025 19:16:26 +0200 Subject: [PATCH] feat(options_init): enable horizontal layout by default for new users --- src/services/options_init.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/services/options_init.ts b/src/services/options_init.ts index f4a98cf23..7e7434d2d 100644 --- a/src/services/options_init.ts +++ b/src/services/options_init.ts @@ -63,6 +63,7 @@ async function initNotSyncedOptions(initialized: boolean, opts: NotSyncedOpts = optionService.createOption("lastSyncedPush", "0", false); optionService.createOption("theme", "next", false); + optionService.createOption("layoutOrientation", "horizontal", false); optionService.createOption("syncServerHost", opts.syncServerHost || "", false); optionService.createOption("syncServerTimeout", "120000", false); @@ -148,9 +149,11 @@ const defaultOptions: DefaultOption[] = [ { name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }, { name: "textNoteEditorMultilineToolbar", value: "false", isSynced: true }, - // HTML import configuration + // Appearance { name: "layoutOrientation", value: "vertical", isSynced: false }, { name: "backgroundEffects", value: "false", isSynced: false }, + + // HTML import configuration { name: "allowedHtmlTags", value: JSON.stringify([