Web Editor (wiki in this case) looses all edits (and possibly content) with easy to do mis-click
Summary
Misclicking "Rich Text" (instead of "Preview") and quickly clicking "Source" before the Rich text editor loads the content, results in a blank source view. Losing all in progress edits when the intention was to simply preview.
I'm not sure if clicking save at this point might also blank out the content - but I didn't try it.
Steps to reproduce
- Click "Rich Text" (when intending to click "Preview" which was previously in this location)
- Quickly, before content loads, click "Source"
- Editor is blank.
- Refreshing the page brings back original content without edits.
- Not sure what saving would do.
Example Project
Any.
What is the current bug behavior?
In progress edits are lost. It is easy to misclick due to the location of the new buttons for Rich Text - but should not happen regardless.
What is the expected correct behavior?
In progress edits should never be lost regardless of UI actions or speed of them. It dramatically reduces the confidence in web editing.
Relevant logs and/or screenshots
Video
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by Chad Woolley
