This is a pretty annoying bug and critical in my opinion because it introduces a high risk of data loss. I write a lot of technical wiki's and haven't experienced this bug before so I think it was recently introduced.
Michiel Crefcoeurchanged title from Switching from rich text to source in Wiki editor removes code blocks contents to Wiki editor removes code blocks contents
changed title from Switching from rich text to source in Wiki editor removes code blocks contents to Wiki editor removes code blocks contents
Michiel Crefcoeurchanged the descriptionCompare with previous version
changed the description
Michiel Crefcoeurchanged the descriptionCompare with previous version
This issue has regression without specifying which milestone introduced it. We're assuming that it's introduced in the current version 14.7.0-pre so we're labeling regression:14.7.
Please correct it accordingly and keep regression so that we could easily search for all the regressions across version, too.
It's not clearing the code blocks anymore but now code block contents are saved as standard text. (without the code blocks markup)
It also adds undefined in front of the text.
@ealcantara
Yes, I believe it is.
There are now no more problems for code blocks that were already on the page before switching to the rich text editor.
Newly added code blocks from the rich text editor still break.