Right now pasting an image (let’s say from the web), then changing your mind and using CTRL+z to remove it results in the link being removed, but not the image in Obsidian itself. Manually cleaning those up is tedious.
I propose that if an image is pasted from somewhere and only has 1 reference, CTRL+z should also delete the file from Obsidian.