Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to select multiple images and pass them to dedicated callback #63

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

rtripault
Copy link

What does it do

Introduces a new JS callback to be executed when selecting multiple images

Why is it needed

Same purpose as the "onSelect" callback, but with the ability to pick many images at once. This could be used for example to batch import images from MediaManager to moreGallery

@Mark-H
Copy link

Mark-H commented Feb 5, 2023

Already sent this to you @rtripault but for consideration @Sterc: core will support multi-select in 3.1 by calling the standard onSelect callback multiple times. https://github.com/modxcms/revolution/pull/16348/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants