mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	make options UI properly read from translations file
Bugs remaining: - extra whitespace under heading - existing list is filled with `\n` instead of delimiters - [reset to default] triggers "500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"
This commit is contained in:
		| @@ -136,7 +136,7 @@ const defaultOptions: DefaultOption[] = [ | ||||
|     // Text note configuration | ||||
|     { name: "textNoteEditorType", value: "ckeditor-balloon", isSynced: true }, | ||||
|  | ||||
|     // HTML sanitization configuration | ||||
|     // HTML import configuration | ||||
|     { name: "allowedHtmlTags", value: JSON.stringify([ | ||||
|         'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', | ||||
|         'li', 'b', 'i', 'strong', 'em', 'strike', 's', 'del', 'abbr', 'code', 'hr', 'br', 'div', | ||||
| @@ -148,7 +148,7 @@ const defaultOptions: DefaultOption[] = [ | ||||
|         'acronym', 'article', 'big', 'button', 'cite', 'col', 'colgroup', 'data', 'dd', | ||||
|         'fieldset', 'form', 'legend', 'meter', 'noscript', 'option', 'progress', 'rp', | ||||
|         'samp', 'small', 'sub', 'sup', 'template', 'textarea', 'tt' | ||||
|     ]), isSynced: true } | ||||
|     ]), isSynced: true }, | ||||
| ]; | ||||
|  | ||||
| /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user