function which shadows the builtin. Will backport to 3.0
Attach a file by drag & drop or click to upload