Fix preview markdown shortcut on work items
requested to merge 413592-keyboard-shortcut-to-preview-markdown-doesn-t-work-on-okr-and-key-result-descriptions into master
What does this MR do and why?
Fix cmd shift p for preview toggle on work items
- Add form wrapper for editing work item description, the shortcut toggle needs a form
- Remove the old markdown editor feature flag. Can toggle markdown edit already, and the newer editor is ready.
Screenshots or screen recordings
How to set up and validate locally
- Create an OKR or a task, then view it on the work item page (or view an issue on work item page). e.g. http://gdk.test:3000/gitlab-org/gitlab-test/-/work_items/34
- Edit description, press cmd+shift+p or ctrl+shift+p
- Toggle preview mode
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 #413592 (closed)