Don't close modal on upload

I love using the structure field.
One issue with having an image selector inside of the structure though, is when you create the structure element before you upload images. No matter what kind of “image selector” you use, the modal closes and you lose all content you’ve entered when you upload a new image.

Kirby 2.2 added the wonderful drag and drop feature over the full page. But the modal still gets closed after a successful upload. I think it should either be possible to directly drag new files in to fields, or have the modal reopen with the entered content after a file upload.

Here’s a gif of the process:

1 Like

I have created an issue on GitHub

1 Like