Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: a79d8ef8a5f9ffb43debe20d0dce91743c7c2670
https://github.com/xwiki/xwiki-platform/commit/a79d8ef8a5f9ffb43debe20d0dce…
Author: LucasC <lucas.charpentier(a)imt-atlantique.net>
Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-picker/xwiki-platform-attachment-picker-ui/src/main/resources/Attachment/Picker/Code/CKEditorImagePlugin.xml
M xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-picker/xwiki-platform-attachment-picker-webjar/src/main/webjar/attachmentGalleryPicker.js
Log Message:
-----------
XWIKI-19965: Enable the images from new Image dialog Gallery to be selected on double click or with Enter key (#2817)
* Added the listeners for double click and enter key pressed down
* Limited the listener for simple click to avoid collision with the behaviour of the double click one.
Note: This implementation also removes behaviours for click chains higher than 2. I think it's okay to do so because it's rarely even a use case, and removing interaction at this point can actually help users.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications