contentEditor

Description: A content editor input with the corresponding label. If in rich mode it renders a full rich text editor. If not, falls back to a normal <textarea> input.

A content editor is an extension do a memo field input, but has three additional features:

  • Has multi-language support: the editor content is loaded based on the current language
  • Integrates with CMS - Content Manager System module
  • Integrates with ContentEntry parameter

JavaDoc: Click here

Remarks: The id will map to an existent stage parameter if it exists.
This will cause it's value to be initialized and submitted to this parameter. All validation as defined in the parameter will be applied to the submitted value.

Body content: Empty. All enclosed content will be ignored.

Attributes:

Name Description Data type Required Default value
id The id for the generated HTML input. String Yes -
label The label for the input. String No A message with the id identical to the given tag id, or, if non-existent, the camel-cased interpretation of the id
noTabIndex If we want to omit the tab index attribute. Boolean No False
cols The number of columns. Integer No False
rows The number of rows. Integer No False
richMode If the component should be a rich text editor or a textarea. Boolean No False - Textarea
contentEntry AINDA EM DÚVIDA. String No -
tip A tip for the current field. String No -
helpID The id of the existing help item to use as help for this field. String No -

Examples:

<dif:document>
   <dif:form>
       <dif:contentEditor id="contentEditorTest" label="Content editor example" cols="800" rows="200" tip="This is a ContentEditor example" helpID="fieldHelp"/>
   </dif:form/>
   ...
</dif:document>

Screenshots:

  <<See also>>:

     * {{{form.html}form component}}

     []

 {{{../tag_reference.html}Back to tag reference}}