-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add docs on admin text templates
- Loading branch information
1 parent
949ad3f
commit b8a2fdd
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
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, users work with text editors in many different contexts. | ||
`Text templates` are meant to help users with writing by providing ready-made paragraphs that can be inserted in any text editor. | ||
Users can insert a `text template` by clicking on the corresponding icon on top of the text editors. | ||
|
||
Click on `Text Templates` in the sidebar of the administrator interface in order to | ||
open an editor that lets you configure custom `text templates`: | ||
|
||
![text_template_editor](/img/admin_ui/text_template_editor.png) | ||
|
||
Click on the <Btn mixed={[faPlus]} color={"primary"}/> button to generate a new `text template`. | ||
You can then configure an icon (TODO: which icons can be used?), a `Text` (TODO: what's that for?), as well as a the paragraph that's meant to appear as a template in the users' text editors. | ||
|
||
![text_template_edited](/img/admin_ui/text_template_edited.png) | ||
|
||
Remove a `text template` by clicking the <Btn mixed={[faTrashAlt]} color={"danger"}/> button next to a template in the list on the left. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.