The <codemirror> tag adds a text field with the code formatting.
Available attributes:
Attribute
Type
Mandatory
Description
class
String
N
Specify the CSS class name defined in the CSS field.
isMandatory
Boolean
N
Make the field mandatory. To do so, set the attribute equal totrue.
isVisible
Boolean
N
This attribute is equal totrueby default. To disable the tag, set thefalsevalue.
label
String
N
Describe the field content by giving a field label with the text information.
model
String
Y
Specify this attribute to point to the client controllerdata object. When the model data changes, it is automatically transferred to the data of the client script.
readOnly
Boolean
N
Make the field read-only. To do so, set the attribute equal totrue.
style
String
N
Specify the display settings (size, font, color, etc.) of the tag elements using theCSS syntax.