Documentation
Image Placeholder
Defines a macro image placeholder to display in the Confluence editor
Example
{
"imagePlaceholder": {
"width": 100,
"height": 25,
"url": "/images/placeholder.png",
"applyChrome": true
}
}
Properties
url
Type
stringuriRequired
Yes
Description
The URL of the image placeholder. Your image placeholder needs to be hosted remotely at a web-accessible location. You can specify the URL as an absolute URL or relative to the add-on's base URL.
applyChrome
Type
booleanDefaults to
falseDescription
Set to true if the image should have the macro placeholder chrome applied to it.
height
Type
integerDescription
The height in pixels of the image placeholder. Defaults to the natural image height if not specified.
width
Type
integerDescription
The width in pixels of the image placeholder. Defaults to the natural image width if not specified.