diff --git a/src/routes/api/options.ts b/src/routes/api/options.ts index c8f99fd77..b918bdc19 100644 --- a/src/routes/api/options.ts +++ b/src/routes/api/options.ts @@ -65,7 +65,8 @@ const ALLOWED_OPTIONS = new Set([ 'promotedAttributesOpenInRibbon', 'editedNotesOpenInRibbon', 'locale', - 'firstDayOfWeek' + 'firstDayOfWeek', + 'textNoteEditorType' ]); function getOptions() { diff --git a/src/services/options_init.ts b/src/services/options_init.ts index dfac812f6..1dc7602d2 100644 --- a/src/services/options_init.ts +++ b/src/services/options_init.ts @@ -131,7 +131,10 @@ const defaultOptions: DefaultOption[] = [ return "default:stackoverflow-dark"; } }, isSynced: false }, - { name: "codeBlockWordWrap", value: "false", isSynced: true } + { name: "codeBlockWordWrap", value: "false", isSynced: true }, + + // Text note configuration + { name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true } ]; /**