How can I create a function that activates when a user deletes an object in tinyMCE?
I want to remove uploaded images from a cache folder whenever a user deletes an image from the tinyMCE editor. If they upload an image and then delete it, I would like an ajax action to delete the file from the folder where it was uploaded. This will help keep the cache folder organized and clean.