Setting a pre-defined attribute
The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:
-
You have logged into Skribenta.
-
You are assigned to one of the following user roles: content provider, technical writer or administrator.
-
You have selected the workspace you want to work in.
-
A content file or a configuration file is created in the workspace.
-
You have browsed to and opened the file in the Workspace view or the Publications view.
-
You have created an element, for example, a paragraph or an ordered or unordered list.
You need to set an attribute, other than the most common attributes, on an element in your file.
Apart from the most common Skribenta attributes class, type, label, id and condition, it is possible to set other attributes on the element and give it a value. This is handy if, for example, you want to control a particular styling.
This instruction tells you how to set an attribute, other than the most common attributes, on an element in your file.
This is the content before setting a pre-defined attribute on a paragraph element:
This is the content after setting pre-defined attribute child-background-color to yellow on a paragraph element:
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
Open the file, then set an attribute on an element in your file content.
1 minute
Procedure
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
A pop-up list opens.
A toolbar opens.
The All tab opens.
The attribute value is set on the element.
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
The All tab on the element Attributes toolbar opens.
The attribute value is set on the element.