Skip to content

Build your personal knowledge base with Trilium Notes

Revert "feat(options_init): enable horizontal layout by default for new users"

Elian Doran5899ba9a5798
diff --git a/src/services/options_init.ts b/src/services/options_init.ts
index 7e7434d2d8..f4a98cf23e 100644
--- a/src/services/options_init.ts
+++ b/src/services/options_init.ts
@@ -63,7 +63,6 @@ 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);
@@ -149,11 +148,9 @@ const defaultOptions: DefaultOption[] = [
{ name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true },
{ name: "textNoteEditorMultilineToolbar", value: "false", isSynced: true },
- // Appearance
+ // HTML import configuration
{ name: "layoutOrientation", value: "vertical", isSynced: false },
{ name: "backgroundEffects", value: "false", isSynced: false },
-
- // HTML import configuration
{
name: "allowedHtmlTags",
value: JSON.stringify([