Fixes #46150 by catching both the delete and backspace keys, rather than just the delete key.
Attach a file by drag & drop or click to upload