TextEdit style attributes

Textedit style presentation attributes apply to a textedit element.

Note: This topic lists presentation style attributes for a specific class of form element, common presentation style attributes can also be used for this type of element.
Table 1. TextEdit style attributes
Attribute GDC GWC-JS GMA GMI
customWidget

Defines a specific widget to be used by the front end for the textedit field.

Values can be:
  • "TinyMCE": Uses a specific HTML text editor (for HTML5, uses the TinyMCE™ HTML editor when set).
No Yes No No
integratedSearch

Defines if the textedit field allows search facility (Control-F).

Values can be "yes", "no" (default).

Yes No No No
showEditToolBox

Defines if the toolbox for the rich text editing should be shown.

Possible values are "auto"(default), "yes", "no".

Only available if textFormat style attribute is set to "html".

Yes Yes No No
spellCheck

Defines if the textedit field includes a spelling checker.

Note:
  • With GDC, the possible values are the two dictionary files needed for each language (one .aff and one .dic). These files can be downloaded here. Only the files available for OpenOffice.org 2.x are working (files for OpenOffice.org 3.x are not supported yet). Specify in the style the two files for the "spellCheck" StyleAttribute, using one of the file formats. The local directory of dictionary files can be asked to the GDC with the standard.feInfo frontcall with the dictionariesDirectory parameter.
  • With GWC-JS, the attribute is not applicable: Edit fields use the web browser spellchecker.

  • With GMI, available values are "yes", "no". If this attribute is not set, iOS will decide if spellchecking is enabled, depending on the global auto-correction setting on the device.

Yes (see note) No (see note) No Yes (see note)
textFormat

Defines the rendering of the content of the widget.

Values can be:
  • "plain" (default): the value assigned to this widget is interpreted as plain text.
  • "html", the value is interpreted as HTML (with hyper-links), with rich text input feature enabled.
Note that a specific HTML editor widget can be specified with the customWidget style attribute.
Yes Yes No No
wrapPolicy

Defines where the text can be wrapped in word wrap mode.

Values can be:
  • "atWordBoundary" (default): the text will wrap at word boundaries.
  • "anywhere": the text breaks anywhere, splitting words if needed.
Yes Yes No No
File Formats for spellCheck:
  • "my_affix_file.aff|my_dictionnary_file.dic"
  • an absolute path such as "file:///c:/dics/my_dictionnary_file.aff|file:///c:/dics/my_dictionnary_file.dic"
  • a Web server path such as http://mywebserver.com/my_affix_file.aff|http://mywebserver.com/my_dictionnary_file.dic