Skip to content

Add Content Editor to Epic descriptions

Janis Altherr requested to merge 407507-content-editor-in-epics into master

What does this MR do and why?

This MR replaces the MarkdownField component with the MarkdownEditor wrapper, effectively enabling the new Content Editor to Epic Descriptions.

Note that MarkdownEditor is a wrapper around MarkdownField, so apart from the "View Rich Text" button (and the editor it enables) there is no visual change.

Screenshots or screen recordings

Before After

Screenshot 2023-06-01 at 12.00.02.png

Screenshot 2023-06-01 at 12.01.21.png

Screenshot 2023-06-01 at 11.59.10.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit /groups/twitter/-/epics/new and confirm the markdown editor is working as it did previously.
  2. Enable the Feature Flag with echo "Featrue.enable(:content_editor_on_issues)" | rails c (yes, that is the correct FF name)
  3. Reload /groups/twitter/-/epics/new, click "Switch to rich text" and confirm the Content Editor is working as expected.

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

Edited by Janis Altherr

Merge request reports

Loading