title: Froala WYSIWYG editor: how to tell a server to delete an uploaded image
body: <p>I am hoping to use Froala (2.6.4) in my web app and I am testing it out.</p>
  
  <p>I am able to configure <code>imageUploadURL</code> and add server-side code to store images. Now if a user removes an image in the editting area, I hope to be able to delete the image from the server. However, I am not able to find any URL setting for this purpose.</p>
  
  <p>Did I miss something?</p>
  
  <p>Please note that I do not use Image Manager plugin.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I was not able to find any option for notifying the server of deleting an image. I do find an event called </p>
  
  <pre><code>froalaEditor.image.removed
  </code></pre>
  
  <p>It gets called when I remove an image. I hope this is the way to tell the server to delete an image.</p>
  
  <p>Now come two more questions based on my tests.</p>
  
  <ol>
  <li><p>When I delete an image from the editting area, my program deletes the image from the server. If a user restores it by pressing Ctrl+Z on Windows, the image shows up again in the editting area. The problem is that I need to save the image on the server. Based on my tests, the server code at <code>imageUploadURL</code> does not get called. </p></li>
  <li><p>I can select and copy an area of image in an image editing tool (Paint on my Windows machine). I am able to paste it in the editing area, and it is saved on the server via <code>imageUploadURL</code>. However, the event <code>froalaEditor.image.removed</code> gets called too each time when pasting an image. Is this a bug? Please note that this event does not gets called when I drag and drop or upload an image onto the editing area.</p></li>
  </ol>