Tag Definitions %TEXT%

Sets or displays content areas of a page.

This tag enables the user to enter content into a free text area, using the component editor. The content type allowed includes copy, images, links, forms, lists and tables. Copy can also be formatted.


Attribute Definitions
ParameterTypeDescription
captionStringThe caption to label the input field, default is 'Shorttitle'
cssstyleStringThe CSS class to be applied to this field in the editor. Will take this form in the css:  body.mystyle {xxxxx;}
widthIntegerThe width in pixels of the editor pane. Default width is 400px.
heightInteger
The height in pixels of the editor pane. The default height is 100px.
imagetagclassesStringA semi-colon seperated list of CSS classes that the page author can associate with images added into this markup field.
linktagclassesStringA semi-colon seperated list of CSS classes that the page author can associate with links added into this markup field.

Example

This example renders a tag with the dimensions of the text area specified, css classes defined for any embedded images and a reference to a css class that controls the appearance of the text within the editor window.

  1. <h1>%TITLE%</h1>
  2. <h2>%SUBTITLE%</h2>
  3. <div class="content">
  4. %TEXT(width=500, height=500, imagetagclasses=left;right;center, cssstyle=.mystyle)%
  5. </div>

See Also:

Video Guides

How To...

Tag Definitions