Upload option in the Select content dialog
When working with media contents (image, video...) in the CMS, you can only upload your files in the Media component. In this post I would like to introduce an add-on which allows you to upload media file when you are in the Select content dialog. Let's see it in action.
I have also added this function to the TinyMCE editor, let's see it below.
Basically, it works as same as when you working in Media component but has some notable points.
- Upload button only get enabled when you select folder node on the tree.
- OK button only get enabled when you select actual media content.
- There is a sync between Select content dialog and Media component, this means that you can see uploaded files immediately in Media component after the uploading process completes in the Select content dialog.
It took pretty much code so I have created a nuget package for this feature, but currently it only supports Episerver CMS 10. I will make it work with Episerver CMS 11 soon.