mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +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',
|
'editedNotesOpenInRibbon',
|
||||||
'locale',
|
'locale',
|
||||||
'firstDayOfWeek',
|
'firstDayOfWeek',
|
||||||
'textNoteEditorType'
|
'textNoteEditorType',
|
||||||
|
'layoutOrientation'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
function getOptions() {
|
function getOptions() {
|
||||||
|
@ -134,7 +134,9 @@ const defaultOptions: DefaultOption[] = [
|
|||||||
{ name: "codeBlockWordWrap", value: "false", isSynced: true },
|
{ name: "codeBlockWordWrap", value: "false", isSynced: true },
|
||||||
|
|
||||||
// Text note configuration
|
// 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