Wiki editor removes code blocks contents
Summary
- Switching from rich text to source in Wiki editor removes code blocks contents.
- Clicking "Save changes" from rich text Wiki editor removes code blocks contents.
Steps to reproduce
Switching
- Create/edit a Wiki page with source code blocks
- Switch to rich text editor
- Switch back to source
Saving
- Create/edit a Wiki page with source code blocks
- Switch to rich text editor
- Click "Save changes"
What is the current bug behavior?
All code blocks are empty.
What is the expected correct behavior?
Code blocks should not be made empty.
Output of checks
This bug happens on GitLab.com (both "Current" and "Next")
Edited by Michiel Crefcoeur