mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	feat(options_init): enable horizontal layout by default for new users
This commit is contained in:
		| @@ -63,6 +63,7 @@ async function initNotSyncedOptions(initialized: boolean, opts: NotSyncedOpts = | |||||||
|     optionService.createOption("lastSyncedPush", "0", false); |     optionService.createOption("lastSyncedPush", "0", false); | ||||||
|  |  | ||||||
|     optionService.createOption("theme", "next", false); |     optionService.createOption("theme", "next", false); | ||||||
|  |     optionService.createOption("layoutOrientation", "horizontal", false); | ||||||
|  |  | ||||||
|     optionService.createOption("syncServerHost", opts.syncServerHost || "", false); |     optionService.createOption("syncServerHost", opts.syncServerHost || "", false); | ||||||
|     optionService.createOption("syncServerTimeout", "120000", false); |     optionService.createOption("syncServerTimeout", "120000", false); | ||||||
| @@ -148,9 +149,11 @@ const defaultOptions: DefaultOption[] = [ | |||||||
|     { name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }, |     { name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }, | ||||||
|     { name: "textNoteEditorMultilineToolbar", value: "false", isSynced: true }, |     { name: "textNoteEditorMultilineToolbar", value: "false", isSynced: true }, | ||||||
|  |  | ||||||
|     // HTML import configuration |     // Appearance | ||||||
|     { name: "layoutOrientation", value: "vertical", isSynced: false }, |     { name: "layoutOrientation", value: "vertical", isSynced: false }, | ||||||
|     { name: "backgroundEffects", value: "false", isSynced: false }, |     { name: "backgroundEffects", value: "false", isSynced: false }, | ||||||
|  |  | ||||||
|  |     // HTML import configuration | ||||||
|     { |     { | ||||||
|         name: "allowedHtmlTags", |         name: "allowedHtmlTags", | ||||||
|         value: JSON.stringify([ |         value: JSON.stringify([ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user