Allow editing plantuml/kroki diagrams in content editor
What does this MR do and why?
Extend the Content Editor to support rendering PlantUML and Kroki diagrams in the document. Fixes issues #332095 (closed), #332097 (closed).
Screenshots or screen recordings
PlantUML
Kroki
How to set up and validate locally
- Enable PlantUML and Kroki in Admin -> Settings -> General
-
On any wiki page and add a PlantUML or Kroki diagram code as above
-
Click "edit rich text" to enable content editor. You will see a code block render instead of the diagram.
-
Save. It should render as a diagram in the wiki view.
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 #332095 (closed), #332097 (closed)
Edited by Brett Walker