Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10.20
-
None
-
Windows 11 Pro, Firefox 123, using a local instance of XWiki 14.10.21 on Tomcat 9.0.85, MySQL 8.3
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Go to Administer Wiki > Look & Feel > Image Styles
- Create a new Image Style (e.g. 'Style1' - choose some distinctive settings, like a specific Width/ Height, e.g 500, default Alignment: Center), the Identifier and Type must be different (eg. Identifier: Pretty1, Type: thumbnail)
- Edit a page with CKEditor
- Click on 'Image' from toolbar
- Select an image from Gallery tab
- Click 'Select' button
- Choose the' Pretty1' style from the drop-down
- Click "Insert" button
Expected results
The image is inserted using the chosen 'Style1' parameters (e.g. the specific Width/ Height, e.g. 500, default Alignment: Center).
Actual results
The image is inserted with the default parameters (which I think corresponds to "---" selection) (e.g. Alignment: None, default size).
Also, the image is resizable and the Alignment can be changed, although in the Administration, on the Style page the checkboxes are not selected.
Tested and reproduced also on XWiki 15.10.6, 14.10.21 and 16.1.0.