Panel Contentwrapper

This macro implements the default theme content wrappers. It is meant to be used in ThemeBuilder panels and will not work if added in the Confluence editor.

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


notflag

Not Flag

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

string


Example

The Panel Contentwrapper macro is used in the ROOT skin Content panel to define the area that holds the editable page content. This is shown here by the area marked in red.

HTML

A standard Confluence page produces this code, and the additional panel content adds all the content between.

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

On this page