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.
This commit is contained in:
maphew 2024-11-17 20:38:27 -07:00
parent 8db1205d57
commit 8574d2b143

View File

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