Skip to content

Commit

Permalink
feat(options_init): enable horizontal layout by default for new users
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 18, 2025
1 parent 4e9aafc commit 637d1df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/services/options_init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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([
Expand Down

0 comments on commit 637d1df

Please sign in to comment.