Fix save) triggers 'not allowed to be changed'

"500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"

Note: the "allowed to change" list is set on startup. When a new option
is added Trilium must be restarted.
pull/601/head
maphew 2024-11-17 20:38:27 +07:00
parent 8db1205d57
commit 8574d2b143
1 changed files with 2 additions and 1 deletions

@ -66,7 +66,8 @@ const ALLOWED_OPTIONS = new Set([
'editedNotesOpenInRibbon',
'locale',
'firstDayOfWeek',
'textNoteEditorType'
'textNoteEditorType',
'allowedHtmlTags', // Allow configuring HTML import tags
]);
function getOptions() {