Add an image with caption [Since XWiki 14.1 RC1]
Last modified by Ilie Andriuta on 2023/02/07 13:41
Steps to reproduce
- Add an image attachment to a page
- Edit the page in Source/Wiki mode and paste (replace with the correct name of the image):
[[~[~[This is a link to xwiki.org~>~>https://www.xwiki.org~]~]>>image:some_image.png]] - Click on Source again to return to WYSIWYG mode and add/modify the captioned content (below the image) in-line
- On a new line, click on Image button from the toolbar (WYSIWYG mode)
- Upload and Select an image (from Upload tab)
- Tick 'Caption'
- Click 'Insert'
- Click 'Save & View'
Expected results
Starting XWiki 14.1 RC1, the XWiki 2.0 and 2.1 syntax supports captioned images.The syntax is rendered as an image with "Caption content" as caption when the image is alone in a paragraph (e.g. the image syntax is surrounded by blank lines). Also, the caption can be edited directly below the image.
Results
| per page of Previous Page Next Page Page | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
| Previous Page Next Page Page | |||||||||||||||||||||||||||||||||