Deselecting Medium Editor Image Upload is not removing corresponding files

If I deselect Medium Editor Image Upload for a medium editor field, the corresponding files:

 <link rel="stylesheet" href="../../../../dmxAppConnect/dmxMediumEditorImageUpload/dmxMediumEditorImageUpload.css">
  <script src="../../../../dmxAppConnect/dmxMediumEditorImageUpload/dmxMediumEditorImageUpload.js" defer=""></script>

are still on the page. This keeps the (+) image button in the filed, but uploading is not working anymore.

 <link rel="stylesheet" href="../../../../dmxAppConnect/dmxMediumEditorImageUpload/dmxMediumEditorImageUpload.css">
  <script src="../../../../dmxAppConnect/dmxMediumEditorImageUpload/dmxMediumEditorImageUpload.js" defer=""></script>

should be deleted if the medium editor add-on image upload is being deselected.

2 Likes

I noticed this as well.

Well I guess the addtional files are kept in order to support multiple text areas where some of them have image-upload support and some don’t. So it might be the correct solution to keep the files but make sure that the image upload (+) is deactivated/not shown on image-upload-deactivated text areas.