ThemeBuilder for Confluence Server and DC

Editable Text Link

This macro creates a link to edit the named, editable text object.

Editable text objects may be used by the import macro to create 'virtual' pages that are editable by space or site admins and can be used for defining navigational or other customisable areas within a skin.

Usage

Storage Format

<ac:macro ac:name="editable-text-link">
<ac:parameter ac:name="parameter">value</ac:parameter>
<ac:rich-text-body>
<!-- link name here -->
</ac:rich-text-body>
</ac:macro>

Wiki Markup

{editable-text-link:parameter=value}link name here{editable-text-link}
Parameter Name Description Type Default Required

name

Name

The name of the editable-text object to edit

string

check

global

Label

Force the editing of the global editable-text object

boolean

error

space

Author

The space to use with space level editable-text objects

spacekey

error

class

CSS Class

The css class to apply to the link

string

error

id

HTML Id

The HTML ID to apply to the link

string

error

tooltip

Tooltip

The tooltip to display over the link

string

error

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

<ac:macro ac:name="editable-text-link">
<ac:parameter ac:name="name">my-text-object.txt</ac:parameter>
<ac:rich-text-body>
Click here to edit my-text-object
</ac:rich-text-body>
</ac:macro>
{editable-text-link:name=my-text-object}Click here to edit my-text-object{editable-text-link}

Result

editable text link 01