|
User assistance for content authors |
|---|
The IfEditMode tag is used to render content in a web content viewer portlet only when a page is in edit mode. This tag can be used to display text, fields, and elements in edit mode that are not required to be displayed when the page is in view mode.
The format of an IfEditMode tag:
[IfEditMode] [/IfEditMode]
To create an IfEditMode tag:
Extra text, HTML, or tags are added between the [IfEditMode] and [/IfEditMode] tags. The text and tags added here is what is rendered when a page is in edit mode.
[IfEditMode] This content is only rendered when in edit mode. [Property type="content" context="current" field="title"] [/IfEditMode]