TextEdit style attributes

Textedit style presentation attributes apply to a textedit element.

Table 1. TextEdit style attributes
Attribute Description GDC CLIENT HTML5 CLIENT
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
integratedSearch

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

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

Yes 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
spellCheck Defines if the textedit field includes a spelling checker.

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.

Yes N/A (uses browser spellchecker)
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
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
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