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
feat(help): add some help buttons on text note options
Elian Doran5aad5870ab24
diff --git a/apps/client/src/widgets/type_widgets/options/text_notes.tsx b/apps/client/src/widgets/type_widgets/options/text_notes.tsxindex d2f7de1ecb..1c2bfdbbbc 100644--- a/apps/client/src/widgets/type_widgets/options/text_notes.tsx+++ b/apps/client/src/widgets/type_widgets/options/text_notes.tsx@@ -27,6 +27,7 @@ import RadioWithIllustration from "./components/RadioWithIllustration";import RelatedSettings from "./components/RelatedSettings";import ThemeModeSelector from "./components/ThemeModeSelector";import { HighlightsListOptions } from "./highlights_list_options";+import HelpButton from "../../react/HelpButton";const isNewLayout = isExperimentalFeatureEnabled("new-layout");@@ -82,7 +83,8 @@ function ToolbarStyle() {const [ textNoteEditorType, setTextNoteEditorType ] = useTriliumOption("textNoteEditorType");return (- <Card className="thumbnail-selector-option-card" heading={t("editing.editor_type.toolbar_style")}>+ <Card className="thumbnail-selector-option-card" heading={t("editing.editor_type.toolbar_style")}+ actions={<HelpButton helpPage="nRhnJkTT8cPs" />}><CardSection><RadioWithIllustrationcurrentValue={textNoteEditorType}@@ -224,6 +226,7 @@ function AutomaticReplacements() {<Card className="text-notes-replacements"heading={t("automatic_replacements.title")}description={t("automatic_replacements.description")}+ actions={<HelpButton helpPage="oI7GoyilXXAr" />}><OptionCardSectionname="double-quote-style"