Remove jQuery usage from app/assets/javascripts/gl_form.js
What does this MR do and why?
Removes direct jQuery usage from GlForm in favor of vanilla JS, also updates its calling classes to pass native DOM element.
References
Screenshots or screen recordings
There's no visual or behavioural change happening due to this change.
How to set up and validate locally
GlForm is used in pretty much every vanilla implementation of GFM input, so the easiest way to test the changes is by going to New Snippet page using http://127.0.0.1:3000/-/snippets/new (or http://gdk.test:3000/-/snippets/new).
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #386022 (closed)