From 3f11268dae693ff1e4d3338938b9fd767d2b5b00 Mon Sep 17 00:00:00 2001 From: FabianMauz Date: Fri, 13 Oct 2023 11:57:57 +0000 Subject: [PATCH] add user view of using text templates --- docs/eln/ui/rich_text_editor.mdx | 33 +++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/eln/ui/rich_text_editor.mdx b/docs/eln/ui/rich_text_editor.mdx index 2786c7a6..5bbf9382 100644 --- a/docs/eln/ui/rich_text_editor.mdx +++ b/docs/eln/ui/rich_text_editor.mdx @@ -1,5 +1,36 @@ --- -title: Richtext editor and text blocks +title: Text Templates +sidebar_label: Text Templates --- +import { + faPlus, + faTrashAlt, +} from "@fortawesome/free-solid-svg-icons"; +import { Btn } from "@site/src/js/btn.js"; +Throughout the ELN, you can work with text editors in many different contexts. +`Text templates` are meant to help you write by providing ready-made paragraphs that can be inserted in many text editors. + + + +![](/img/20231013_customTextblocks.png) + +**Formatting utilities**: standard utilities for formatting text (like in Word) +**User-defined custom text templates:** icons of predefined `text templates` +**Configuration text templates**: Pop-up menu for configuration of `text templates` in editor + +## Using and customizing icons +You can use predefined `text templates` if your cursor is active in the editor. +By clicking on an icon the`text template` content will appear at your cursor. + +The following video shows you how to customize your toolbar: + +![text_template_editor](/img/20231013_configTextTemplatesIcon.gif) + +## Using and customizing text templates dropdown menus +In addition you can organize your `text templates` in dropdown menus: + +![text_template_editor](/img/20231013_configTextTemplatesDropDown.gif) + +You can remove all elements by clicking \ No newline at end of file