diff --git a/src/routes/api/options.ts b/src/routes/api/options.ts index ecfe2dcbb..9649aff2b 100644 --- a/src/routes/api/options.ts +++ b/src/routes/api/options.ts @@ -66,7 +66,8 @@ const ALLOWED_OPTIONS = new Set([ 'editedNotesOpenInRibbon', 'locale', 'firstDayOfWeek', - 'textNoteEditorType' + 'textNoteEditorType', + 'layoutOrientation' ]); function getOptions() { diff --git a/src/services/options_init.ts b/src/services/options_init.ts index 1dc7602d2..2d4efec54 100644 --- a/src/services/options_init.ts +++ b/src/services/options_init.ts @@ -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 } ]; /**