-
Suggestion
-
Resolution: Unresolved
Issue Summary
When using the /wiki/rest/api/contentbody/convert/styled_view endpoint https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body/#api-wiki-rest-api-contentbody-convert-to-post, image captions are not included in the rendered HTML.
Steps to Reproduce
- Use a dynamicContentMacro with a body.
- In Confluence edit mode, add a image with a caption to the macro’s body.
- Save the page.
- The dynamicContentMacro should use window.AP.confluence.getMacroBody to receive the body as storage format and convert it using the mentioned endpoint `/wiki/rest/api/contentbody/convert/styled_view`
- The macroRenderedOutput.value will contain the image, but not the caption
Expected Results
Render the image with caption.
Actual Results
It doesn't render the caption.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
CONFCLOUD-80361 Image captions are not visible when previewing an old page version.
-
- Closed
-
- mentioned in
-
Page Failed to load
Using Convert content body endpoint doesn't render image caption with Dynamic Content Macro
-
Suggestion
-
Resolution: Unresolved
Issue Summary
When using the /wiki/rest/api/contentbody/convert/styled_view endpoint https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-body/#api-wiki-rest-api-contentbody-convert-to-post, image captions are not included in the rendered HTML.
Steps to Reproduce
- Use a dynamicContentMacro with a body.
- In Confluence edit mode, add a image with a caption to the macro’s body.
- Save the page.
- The dynamicContentMacro should use window.AP.confluence.getMacroBody to receive the body as storage format and convert it using the mentioned endpoint `/wiki/rest/api/contentbody/convert/styled_view`
- The macroRenderedOutput.value will contain the image, but not the caption
Expected Results
Render the image with caption.
Actual Results
It doesn't render the caption.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
CONFCLOUD-80361 Image captions are not visible when previewing an old page version.
-
- Closed
-
- mentioned in
-
Page Loading...