public interface CustomHtmlEditorPlaceholder
An interface implemented by a Macro that wishes to provide its own HTML placeholder to the Confluence Editor.
It should be noted that current implementation restrictions on the editor mean that the custom placeholder must be a single non-editable HTML element. It should be either an IMG tag or an OBJECT tag.
Modifier and Type | Interface and Description |
---|---|
static class |
CustomHtmlEditorPlaceholder.PlaceholderGenerationException
An exception thrown if there is a problem in generating the custom placeholder.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomPlaceholder(Map<String,String> parameters,
String body,
ConversionContext context) |
String getCustomPlaceholder(Map<String,String> parameters, String body, ConversionContext context) throws CustomHtmlEditorPlaceholder.PlaceholderGenerationException
parameters
- the parameters that are set on the macro. This may be empty or null.body
- the body of the macro if any. It may be null.context
- the context for the macro instance.CustomHtmlEditorPlaceholder.PlaceholderGenerationException
- on any error during generation of the custom placeholder.Copyright © 2003–2021 Atlassian. All rights reserved.