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.
| Parameter | Type | Description |
|---|---|---|
| caption | String | The caption to label the input field, default is 'Shorttitle' |
| cssstyle | String | The CSS class to be applied to this field in the editor. Will take this form in the css: body.mystyle {xxxxx;} |
| width | Integer | The width in pixels of the editor pane. Default width is 400px. |
| height | Integer | The height in pixels of the editor pane. The default height is 100px. |
| imagetagclasses | String | A semi-colon seperated list of CSS classes that the page author can associate with images added into this markup field. |
| linktagclasses | String | A 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.
<h1>%TITLE%</h1>
<h2>%SUBTITLE%</h2>
<div class="content">
%TEXT(width=500, height=500, imagetagclasses=left;right;center, cssstyle=.mystyle)%
</div>