Fix incorrect behaviour of markdown toolbar buttons in new issues
What does this MR do and why?
On the new issue page, GLForm is loaded twice, once in app/assets/javascripts/issues/index.js
and second in app/assets/javascripts/vue_shared/components/markdown/field.vue
. This caused all buttons on the toolbar to work twice.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2023-04-03_at_09.45.26 | Screen_Recording_2023-04-03_at_09.37.38 |
How to set up and validate locally
- Create a new issue
- Insert a link
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 #404293 (closed)
Edited by Himanshu Kapoor