Paragraphs
Paragraphs can be added by making use of either the 'p' or the 'paragraph' tag.
The optional 'class' parameter allows the use of a desired CSS class. If you do not specify the class parameter, the paragraph will be displayed in a natural way (without tags) in the administration interface. To create a non-classified paragraph, you can simply press 'Enter' key twice.
Usage:
<p [class=""] [custom_parameter="" [...] ]>Example</p>
or
<paragraph [class=""] [custom_parameter="" [...] ]>Example</paragraph>
By default, the system will use 'p' tag in the resulting XHTML code. This behavior can be changed by creating an override template for the '/content/datatype/view/ezxmltags/paragraph.tpl'.
The custom parameters are optional. Their names must be specified using the "CustomAttributes[]" array in the [paragraph] block within an override for the "content.ini" configuration file. When used, a custom parameter will be available as a template variable with the same name as it was specified in the tag itself.
Svitlana Shatokhina (10/01/2006 3:20 pm)
Svitlana Shatokhina (05/07/2007 9:10 am)
Comments