While reading your tutorial, I just notice something that I didn't found in the code, especially when you discussed about drag-file id element. In the code, it has e.preventDefault(); but when you elaborate the code functions instead of having preventDefault(), you define this one preventEvent() instead.
As seen in this screenshot I took,
And additionally in this part of the tutorial,
It appears that preventDefault() are found in those codes, but it is confusing since it wasn't defined. Please clarify, if its preventDefault() or preventEvent()so readers won't get confused.
Thank you.
RE: File Drag & Drop module in Electron with Text Editing Example