Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
14.10.20
-
None
-
Windows 11 Pro, Edge 119, using a local instance of XWiki 14.10.20 on Tomcat 9.0.83, MySQL 8.2
-
Unknown
-
Description
Steps to reproduce
- Go to Administer Wiki > Look & Feel > Image Styles
- Create a new Image Style (e.g. 'Style1' - optional, choose some distinctive settings, like a specific Width/ Height, default Alignment: Center), the Identifier and Type must be different
- From "Default Style" drop-down, select the newly created style (e.g. 'Style1')
- Check (tick) 'Force Default Style' checkbox
- Click "Update the default image style" button
- Edit a page (e.g. Sandbox) with CKEditor
- Click on 'Image' from toolbar
- Select an image from Gallery tab
- Click 'Select' button
- Click "Insert" button
Expected results
The image is inserted using the chosen 'Style1' parameters (e.g. the specific Width/ Height, 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).
In order to apply the settings from the style, in the dialog drop-down another suggested style must be clicked and selected and then select (click) back the chosen style, then insert the image.
This is different than XWIKI-21621, where the image style was not getting selected by default in the dialog's drop-down.
Attachments
Issue Links
- relates to
-
XWIKI-21621 The default image style is not forced as selected when inserting images when identifier and type are different
- Closed