mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
feat(options_init): enable horizontal layout by default for new users
This commit is contained in:
parent
4e9aafc919
commit
637d1df0f5
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user