Fix up some notes.js tech debt See merge request !11283
Attach a file by drag & drop or click to upload