Content Editor: Support diagrams client-side deserializer
What does this MR do and why?
NOTICE: This MR is behind the preserve_unchanged_markdown
feature flag.
It implements support for diagrams in the Content Editor’s client-side deserializer. Diagrams in GitLab Flavored Markdown are represented as code blocks with the languages: mermaid
, plantuml
, and kroki
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable
preserve_unchanged_markdown
feature flag. - Create or edit a Wiki page.
- Write a diagram in the Classic markdown editor.
- Switch to the Content Editor. You should see a code block with the diagram preview feature.
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 #365255 (closed)
Edited by Enrique Alcántara