Annual Documentation Survey

Do you have 4 minutes to help us improve our documentation? Please take our annual survey!

Skip to end of metadata
Go to start of metadata

ThemeBuilder Macro - Panel Contentwrapper

panel-contentwrapper

Implements the default theme content wrappers. To be used in ThemeBuilder panels, will not work if added in the Confluence editor.

Categories: development

Root Skin Location

In ThemeBuilder ROOT skin the contentwrapper is in the 'content' panel.

Usage

Storage Format

<ac:macro ac:name="panel-contentwrapper">
  <ac:rich-text-body>
  <-- content here -->
  </ac:rich-text-body>
</ac:macro>

Parameter

Name

Description

Type

Default

Required

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

 

(error)

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

 

(error)

Example

The 'panel-contentwrapper' macro is used in the ROOT skin 'content' panel to define the area that holds the editable page content, shown here by the area marked in red.

HTML

In a standard Confluence page this will produce this code and the additional panel content adds all  the content between.

<div class="page view" id="content">
<!  everything in here -->
</div>