Hello, great work with this mdeditor package. I've been using this to write html emails for a django website and have recently run into this problem with sending images in the emails. After testing several possible causes, I've narrowed the problem down to the fact that my images, uploaded by mdeditor, have spaces in their filenames. I see that the image uploads are handled in the UploadView, and the filename is specified in this line of code. Would it be possible to add a configuration option to MDEDITOR_CONFIGS that enables removal of spaces (or replacement by some other characters) on upload? This would be very helpful, as right now this problem limits the functionality of the editor.
Hello, great work with this mdeditor package. I've been using this to write html emails for a django website and have recently run into this problem with sending images in the emails. After testing several possible causes, I've narrowed the problem down to the fact that my images, uploaded by
mdeditor
, have spaces in their filenames. I see that the image uploads are handled in theUploadView
, and the filename is specified in this line of code. Would it be possible to add a configuration option toMDEDITOR_CONFIGS
that enables removal of spaces (or replacement by some other characters) on upload? This would be very helpful, as right now this problem limits the functionality of the editor.Happy to help with this if needed.