Skip to content

Toggle between Source and Rich Text editing modes in Wikis

What does this MR do and why?

NOTICE This MR introduces a change behind a feature flag.

This MR replaces the mechanism to switch between the Content Editor and the Classic Markdown Editor in Wikis. See the screenshots section for a before and after demonstration.

Screenshots or screen recordings

Before After
before-after-switch-between-editors-gif after-switch-between-editors-gif

How to set up and validate locally

  1. Enable the wiki_switch_between_content_editor_raw_markdown in your local environment
       > bin/rails c
       > Feature.enable(:wiki_switch_between_content_editor_raw_markdown)
  2. Edit or create a new Wiki page
  3. You should see the Edit rich text button above the Content field in the Wiki edit page.

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

Edited by Enrique Alcántara

Merge request reports

Loading