Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/options/other: tweak the "HTML Import Tags" section
Adorian Doran6555add2aa1b
diff --git a/src/public/app/widgets/type_widgets/options/other/html_import_tags.ts b/src/public/app/widgets/type_widgets/options/other/html_import_tags.tsindex 38ff45fbf4..4b1e9fa3a2 100644--- a/src/public/app/widgets/type_widgets/options/other/html_import_tags.ts+++ b/src/public/app/widgets/type_widgets/options/other/html_import_tags.ts@@ -102,13 +102,20 @@ export const DEFAULT_ALLOWED_TAGS = [];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><p>${t("import.html_import_tags.description")}</p>- <textarea class="allowed-html-tags form-control" style="height: 150px; font-family: monospace;"- placeholder="${t("import.html_import_tags.placeholder")}"></textarea>+ <textarea class="allowed-html-tags form-control" spellcheck="false"+ placeholder="${t("import.html_import_tags.placeholder")}"></textarea><div><button class="btn btn-sm btn-secondary reset-to-default">