type Attribute (editWith Element)
The type attribute is an optional attribute of the editWith element.
The type attribute is used with the xField editing component, and it supports the following values: "plain", "plainMultiline", "formatted", "formattedMultiline", and "rich". The default value is "plain".
Note that if the matched XML Document Object Model (DOM) node does not support the full editing services specified, the effective type is downgraded appropriately (this means downgrading to "plain"). For example, an attribute node will behave as plain even if set to rich. Only data that is in a CDATA section, or that corresponds to XHTML, can support values other than "plain".
The following is an example of the type attribute as it is used in the editWith element: