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=""]>Example</p>
or
<paragraph [class=""]>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'.
Contributors
- Svitlana Shatokhina Updated Commenter
- Guillaume KEMPFER Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
override conditions ?
Guillaume KEMPFER ·
Is it possible to add override conditions to ezxmltags ?
Re: override conditions ?
Svitlana Shatokhina ·
Please refer to the "Using alternate/custom templates" part of this page:
http://ez.no/doc/extensions/onlin...e/formatted_text/the_class_parameter