mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	Revert "feat(options_init): enable horizontal layout by default for new users"
This reverts commit 637d1df0f597849d8c4bfc3ad53b6863bf665ba3.
This commit is contained in:
		
							parent
							
								
									ef1ab56f51
								
							
						
					
					
						commit
						5899ba9a57
					
				@ -63,7 +63,6 @@ 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);
 | 
				
			||||||
@ -149,11 +148,9 @@ 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 },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Appearance
 | 
					    // HTML import configuration
 | 
				
			||||||
    { 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([
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user