Putting aside copyright issues, simply put a static note or even dynamic, so that your users know that they have pasted in an image with external src.
Then give them the option to go back and copy the actual image to their clipboard and paste directly into the editor. The editor should take care everything - between AJAX and PHP.
This method is what I already use. I have not yet released it on github.
@pupi1985: An editor module will be, IMO, more complex if done right as it will require images (all links, actually) to be fetched dynamically (most likely with JS) while writing and storing the image locally, although some editors might already support this and provide a simple-to-use API
I have a powerful TinyMCE plugin called Rapid Image. This acts much like how Slack or Ryver grabs images from clipboard and automatically uploads to the server
This uses the sweet TinyMCE API
@pupi1985: An editor module will be, IMO, more complex if done right as it will require images (all links, actually) to be fetched dynamically (most likely with JS) while writing and storing the image locally, although some editors might already support this and provide a simple-to-use API