Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.64.5
-
None
-
Windows 11 Pro 64 bit, Forefox 103, using a local instance of XWiki 14.4.3 on MariaDB 10.6, Tomcat 9.0.65
-
Unknown
-
N/A
-
N/A
-
Description
Preconditions:
- Enable the new experimental Image Dialog from the WYSIWYG Editor section in the Wiki Administration
STEPS TO REPRODUCE
- Edit a page with CKEditor
- From toolbar, click on 'Image'
- Select an image from 'Gallery' tab
- Click 'Select' button
- Tick 'Caption'
- Click 'Insert' button
EXPECTED RESULTS
The image is inserted with caption.
ACTUAL RESULTS
The image is inserted without caption. This can be observed also if switching to 'Source' edit mode.
If the image is double-clicked, the 'Caption' appears to be ticked (if clicked on 'Source' first, the tick does not appear anymore).
However, if the page is saved by clicking 'Save & View' and then edited again (or just click 'Source' in edit mode and then return to WYSIWYG), the 'Caption' is not ticked when editing the image. If at this point is ticked once again, it's displayed.
The issue was reproduced on XWiki 14.4.3 and doesn't seem to reproduce on XWiki 14.4.1 and 14.4.2 (on CKEditor 1.64.2) or on XWiki 14.6.