mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
feat(server): add support for layout orientation option
This commit is contained in:
parent
eaa6d6c3cf
commit
e32f54a5c9
@ -66,7 +66,8 @@ const ALLOWED_OPTIONS = new Set([
|
||||
'editedNotesOpenInRibbon',
|
||||
'locale',
|
||||
'firstDayOfWeek',
|
||||
'textNoteEditorType'
|
||||
'textNoteEditorType',
|
||||
'layoutOrientation'
|
||||
]);
|
||||
|
||||
function getOptions() {
|
||||
|
@ -134,7 +134,9 @@ const defaultOptions: DefaultOption[] = [
|
||||
{ name: "codeBlockWordWrap", value: "false", isSynced: true },
|
||||
|
||||
// Text note configuration
|
||||
{ name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }
|
||||
{ name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true },
|
||||
|
||||
{ name: "layoutOrientation", value: "vertical", isSynced: false }
|
||||
];
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user