Nuxeo Showcase - Layout Service (forms, views, and actions)

Htmltext

Type htmltext
Title HTML text
Description

The htmltext widget displays an html text editor in create or edit mode, with additional message tag for errors, and a regular text output in other modes (without escaping the text).

Widgets using this type can provide properties accepted on a <nxu:editor /> tag in create or edit mode, and properties accepted on a <nxu:outputText /> tag in other modes.

Accepting Sub Widgets
No
Handling Labels
No
Containing Form
No
Handler Class org.nuxeo.ecm.platform.forms.layout.facelets.plugins.HtmlTextWidgetTypeHandler
Categories document
Style style
Style class styleClass
Title title
Required required
Width width The textarea width. Defaults to "640". Give the exact size in pixels or percentage.
Height height The textarea height. Defaults to "400". Give the exact size in pixels or percentage.
Disable HTML init disableHtmlInit If set to true, the default display will be the text display (not html editor). Available since 5.3.1.
Editor selector editorSelector The class to use to identify text areas to turn into html editors. Defaults to "mceEditor". See the editor_selector option in TinyMCE (http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/editor_selector).
JSON configuration configuration JSON configuration map for TinyMCE initialization, that will be merged with default configuration. Available since 8.1. Example: {"toolbar4": "paste"}