xdan / jodit-connectors

Official Jodit connectors
GNU General Public License v2.0
24 stars 18 forks source link

How to use the fileRemove option ? #6

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi there! :)

I wonder how to use the fileRemoveoption. Like this?

uploader: {
      url: '/js/jodit/connector/index.php?action=fileUpload',
      remove: '/js/jodit/connector/index.php?action=fileRemove&source=:source&path=:path&name=:name'
    },

Is this gonna remove the file form server if the user delete an image from the textarea ?

Thanks in advance