Skip to content

Use Content Editor on new issues and merge requests

Enrique Alcántara requested to merge 382636-content-on-new-issues into master

What does this MR do and why?

Allow using content editor (rich text editor) when creating new issues and merge requests, and also when editing issues (using the edit issue page) and editing merge requests.

Note that the feature is behind a feature flag content_editor_on_issues.

Screenshots or screen recordings

Issues Merge Requests
Screen_Recording_2023-03-27_at_21.16.50 Screen_Recording_2023-03-27_at_21.17.30

How to set up and validate locally

  1. Enable the feature flag: echo "Feature.enable(:content_editor_on_issues)" | rails c.
  2. Create a new issue or a merge request. Or edit an existing issue (using the edit issue page, by appending /edit to the issue page URL) or merge request.
  3. Click "Viewing markdown" at the bottom right of the page to toggle between markdown and rich text.

All existing features of the markdown editor should also work with content editor like:

  • Autocompleting users, issues, MRs and quick actions
  • Applying templates

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 #382636 (closed)

Edited by Himanshu Kapoor

Merge request reports