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
chore(options/etapi): add TODO notice to get rid of current workaround
Panagiotis Papadopoulos0f1b4614fb58
diff --git a/src/public/app/widgets/type_widgets/options/etapi.ts b/src/public/app/widgets/type_widgets/options/etapi.tsindex 8de60d9ded..dd0ffb789e 100644--- a/src/public/app/widgets/type_widgets/options/etapi.ts+++ b/src/public/app/widgets/type_widgets/options/etapi.ts@@ -9,6 +9,8 @@ const TPL = `<div class="options-section"><h4>${t("etapi.title")}</h4>+ // TriliumNextTODO: src/public/app/services/link.ts -> prevents regular click behavior on "a" element here+ // because it is a relative path, and not a URL starting with http(s) -> onclick="window.open(...)" is used as workaround for now<p>${t("etapi.description")} <br/>${t("etapi.see_more", {link_to_wiki: `<a class="tn-link" href="https://triliumnext.github.io/Docs/Wiki/etapi.html">${t("etapi.wiki")}</a>`,