When pasting an image, will insert an image tag on position cursor