mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 05:00:40 +08:00
server: Set up editor type option
This commit is contained in:
parent
d2008e7e5f
commit
7a70fc14b3
@ -65,7 +65,8 @@ const ALLOWED_OPTIONS = new Set([
|
|||||||
'promotedAttributesOpenInRibbon',
|
'promotedAttributesOpenInRibbon',
|
||||||
'editedNotesOpenInRibbon',
|
'editedNotesOpenInRibbon',
|
||||||
'locale',
|
'locale',
|
||||||
'firstDayOfWeek'
|
'firstDayOfWeek',
|
||||||
|
'textNoteEditorType'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
function getOptions() {
|
function getOptions() {
|
||||||
|
@ -131,7 +131,10 @@ const defaultOptions: DefaultOption[] = [
|
|||||||
return "default:stackoverflow-dark";
|
return "default:stackoverflow-dark";
|
||||||
}
|
}
|
||||||
}, isSynced: false },
|
}, isSynced: false },
|
||||||
{ name: "codeBlockWordWrap", value: "false", isSynced: true }
|
{ name: "codeBlockWordWrap", value: "false", isSynced: true },
|
||||||
|
|
||||||
|
// Text note configuration
|
||||||
|
{ name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user