Fix bugs around file attach button
What does this MR do and why?
Fixes following bugs around attach file button on description field across GitLab.
- Hides attach file button from toolbar on blob edit page.
- Fixes JS error caused when clicking attach file button on New Issue/MR/Epic description field.
The bug was originally introduced by !92680 (merged) & !93341 (merged)
Screenshots or screen recordings
NA
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #374165 (closed), #363285 (closed)
Edited by Kushal Pandya