Skip to content

Fix preview markdown shortcut on work items

What does this MR do and why?

Fix cmd shift p for preview toggle on work items

  1. Add form wrapper for editing work item description, the shortcut toggle needs a form
  2. 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

  1. 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
  2. Edit description, press cmd+shift+p or ctrl+shift+p
  3. 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.

Related to #413592 (closed)

Merge request reports