Replies: 1 comment 2 replies
-
I think this seems perfectly safe to change, since, as I understand, it only adds multi-select but doesn't change anything else. So yes, please add this as a contribution. See here for tips: https://docs.orchardcore.net/en/latest/contributing/contributing-code/. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We had a few requests from clients asking for an easier way to manage the order of images for galleries that have a large number of files. I noticed that Draggable, the Vue component that wraps Sortable, is used to enable single image drag. Draggable doesn't expose the multidrag functionality of Sortable. I removed the Draggable component and instead just instantiated Sortable on the ordered list. It seems to work well and doesn't change any functionality beyond ordering images.
There are some potential enhancements that I can think of such as providing a selected image count in the UI somewhere and adding a button to allow for deselecting all.
I am posting the demo here to see if there is any interest in this as a formal contribution either as part of the default editor or as a secondary editor.
Thank you for taking the time to review this demo :)
Beta Was this translation helpful? Give feedback.
All reactions