mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	client/options/other: tweak the "HTML Import Tags" section
This commit is contained in:
		
							parent
							
								
									a97c8087a1
								
							
						
					
					
						commit
						6555add2aa
					
				@ -102,13 +102,20 @@ export const DEFAULT_ALLOWED_TAGS = [
 | 
				
			|||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const TPL = `
 | 
					const TPL = `
 | 
				
			||||||
<div class="options-section">
 | 
					<div class="html-import-tags-settings options-section">
 | 
				
			||||||
 | 
					    <style>
 | 
				
			||||||
 | 
					        .html-import-tags-settings .allowed-html-tags {
 | 
				
			||||||
 | 
					            height: 150px;
 | 
				
			||||||
 | 
					            margin-bottom: 12px;
 | 
				
			||||||
 | 
					            font-family: monospace;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
    <h4>${t("import.html_import_tags.title")}</h4>
 | 
					    <h4>${t("import.html_import_tags.title")}</h4>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <p>${t("import.html_import_tags.description")}</p>
 | 
					    <p>${t("import.html_import_tags.description")}</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <textarea class="allowed-html-tags form-control" style="height: 150px; font-family: monospace;"
 | 
					    <textarea class="allowed-html-tags form-control" spellcheck="false"
 | 
				
			||||||
                placeholder="${t("import.html_import_tags.placeholder")}"></textarea>
 | 
					              placeholder="${t("import.html_import_tags.placeholder")}"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div>
 | 
					    <div>
 | 
				
			||||||
        <button class="btn btn-sm btn-secondary reset-to-default">
 | 
					        <button class="btn btn-sm btn-secondary reset-to-default">
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user