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 |
---|---|
How to set up and validate locally
- 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)
- Edit or create a new Wiki page
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342729 (closed)
Edited by Enrique Alcántara