HTML Content module (user-defined content)
The HTML Content module enables users to view content provided for them. If the corresponding rights are available, selected users can create and edit the content themselves and thus make it available to other users.
It is also possible to create an HTML Content page in the Process Dashboard as a Widget as a widget.
Contact your administrator for this.
Access rights
In order for a user to be able to access or work in the module, the necessary rights must be assigned in the administration area:
|
Users with this right can access the module. |
|
Users with this role can edit content by clicking on the icon in the BPC toolbar. |
|
Users with this role can only edit content with this module ID by clicking on the icon in the BPC toolbar. |
Settings
Parameters for the HTML content module can be preset in the administration area.
These are mainly general settings for the module as well as settings for the markup, e.g. link colors or individual text formats.
| Setting (Key) | Description | Example |
|---|---|---|
Module_Description |
Can be used as a subtitle or description. |
User-defined content |
Module_Header |
Setting whether module title (Module_Name) and subtitle (Module_Description) are displayed or not. |
true (is displayed) |
Module_Icon |
Individually selectable icon that is displayed in front of the module title. [NOTE] ==== The module icon does not automatically correspond to the icon in the navigation bar. This is defined in the navigation settings in the administration area. ==== |
x-fal fa-books |
Module_name |
Name or title of the module |
HTML content module |
Content |
An overview of the content displayed in the HTML content module.
The overview is updated automatically if users (with editing authorization) make changes directly in the module. |
|
EditorCustomCSS |
CSS stylesheet in which user-defined CSS classes are defined.
These can be integrated into the text editor via the |
|
EditorOptions |
JSON object with 2 attributes ("inlineClasses", "linkStyles"). |
|
User-specific CSS classes
Once a CSS class has been defined in the setting EditorCustomCSS, it can be referenced in the setting EditorOptions.
Inline CSS classes
If the CSS class name (e.g. TitleClass) is under the attribute (e.g. inlineClasses), this can be addressed in the editor as follows and applied to each element.
Edit content
|
To create and edit content, you need the appropriate rights. |
The function icon for editing is located in one of these 3 places: * in the BPC toolbar on the left * in the BPC toolbar on the right * in the module header
Clicking on the icon takes you to the Edit mode.
Edit mode
In edit mode, the editor is opened and new content can be created or existing content can be edited.
By default, the content is offered in English and German. Each available language is displayed in a separate tab.
The number and selection of languages can be customized. Please contact your administrator.
Functions in the editor
In the editor, you have the option of creating and customizing texts and adding further content such as links or graphics. The functions of the editor are available via icons in a toolbar:
| Button | Description |
|---|---|
|
Undoes the last action. |
|
Restores the action. |
|
Opens a window with key combinations that can be helpful in the editor. |
|
Makes the text bold. |
|
Marks the text in italics. |
|
Underlines the text. |
|
Marks the text as strikethrough. |
|
Marks the text as subscript. |
|
Marks the text as superscript. |
|
Opens a selection for the text size. |
|
Opens a predefined selection for the text color. |
|
Opens a predefined selection for the background color of the selected text. |
|
Opens a selection of preset formats. |
|
Opens a selection of preset formats. |
|
Deletes any formatting of the selected text. |
|
Aligns the current line or all selected lines to the left. |
|
Aligns the current line or all selected lines to the center. |
|
Aligns the current line or all selected lines to the right. |
|
Aligns the current line or all selected lines in justification. |
|
Converts the current line or all selected lines into a numbered list. |
|
Converts the current line or all selected lines into an unordered list. |
|
Opens a selection of different heading and text styles for the current line or all selected lines. |
|
Opens a selection of different text design options.
The options can be combined and must be deselected individually to return to normal text. |
|
Opens a selection of different spacing between the lines. |
|
Reduces the indent of the current line or all selected lines. |
|
Increases the indent of the current line or all selected lines. |
|
Opens a selection to mark citations and adjust the citation level. |
|
Opens a window in which the URL of a website and the text displayed in the link can be entered. |
|
Opens a window in which the URL of a graphic can be entered. |
|
Opens a window in which a table can be created by selecting the number of columns and rows. |
|
Opens a window in which an emoticon can be selected. |
|
Opens a window in which a special character can be selected. |
|
Inserts a horizontal line below the current line. |
|
The content is displayed as HTML code and can also be edited there. |
Complete editing
Once editing has been completed, the generated content can be saved or discarded. In both cases, the editing mode is exited.
In Lesemodus you can view the result of the editing.