JavaScript for WordPress Forums Gutenberg Development MediaUpload multiple images

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45121
    hasnain
    Participant

    Hello!

    I’m trying to build a block that is liable to upload images in the block. I’m using code for 10-media-upload.

    It only selects one image. Although, I changed <MediaUpload multiple=”true”>.

    Now I am able to select images using shift button. How can we select over the mouse clicks?

    Now I realize, we have multiple images. What’s the optimal way to show those images? Array or something?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.